Automation library · Alerts and monitoring

Monitor daily traffic spikes with Databox and OpenAI

Started by a clock, and works across Slack. It hands the judgement calls to OpenAI. 22 steps, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

22 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 12Logic 7Service 2

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

  1. 1Hourly Traffic Monitor1Schedule triggerStarts it
  2. 2GPT-4o Model1Lm Chat Open AiModel
  3. 3GPT-4o Model2Lm Chat Open AiModel
  4. 4Set client dataCodeLogic
  5. 5Traffic Investigation Agent1AgentModel
  6. 6Traffic Investigation Agent2AgentModel
  7. 7Loop Over Items1Split In BatchesLogic
  8. 8Format Slack Report2SetLogic
  9. 9Send Investigation Report2SlackService
  10. 10Aggregate2AggregateLogic
  11. 11sessionsMcp ClientModel
  12. 12sessions2Mcp ClientModel
  13. 13new usersMcp ClientModel
  14. 14new users2Mcp ClientModel
  15. 15ad costsMcp ClientModel
  16. 16clicksMcp ClientModel
  17. 17cllicks2Mcp ClientModel
  18. 18ad costs2Mcp ClientModel
  19. 19Send Investigation Report1SlackService
  20. 20Merge1MergeLogic
  21. 21Aggregate1AggregateLogic
  22. 22Code in JavaScript4CodeLogic

How it's built

Starts on
A clock
Steps
22, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Slack
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Slack account, 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 22 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 22 steps before you point it at anything that matters.