Automation library · Alerts and monitoring

Monitor competitor prices and send OpenAI analysis alerts

Started by a clock, and works across Gmail, Google Sheets and Slack. It hands the judgement calls to OpenAI. 24 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

24 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Model 2Logic 13Service 8

The steps in the order they run, from what starts it.

  1. 1Price Check ScheduleSchedule triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3Initialize Monitoring SessionSetLogic
  4. 4AI Price AnalystAgentModel
  5. 5Fetch Current PricesHttp RequestService
  6. 6Fetch Previous PricesGoogle SheetsService
  7. 7Parse AI AnalysisCodeLogic
  8. 8Normalize Current PricesCodeLogic
  9. 9Normalize Previous PricesCodeLogic
  10. 10Route by Alert LevelSwitchLogic
  11. 11Compare Price DatasetsCompare DatasetsService
  12. 12Slack Urgent AlertSlackService
  13. 13Email Routine AlertGmailService
  14. 14Log Low Priority ChangesGoogle SheetsService
  15. 15Process Removed ProductsCodeLogic
  16. 16Process UnchangedCodeLogic
  17. 17Process Changed PricesCodeLogic
  18. 18Process New ProductsCodeLogic
  19. 19Merge Alert ResultsMergeLogic
  20. 20Merge All ChangesMergeLogic
  21. 21Log Monitoring RunGoogle SheetsService
  22. 22Filter Significant ChangesFilterLogic
  23. 23Prepare Storage UpdateCodeLogic
  24. 24Update Price HistoryGoogle SheetsService

How it's built

Starts on
A clock
Steps
24, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets, Slack
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and Slack accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 24 steps before you point it at anything that matters.