Automation library · Alerts and monitoring

Monitor Cloudflare incidents and alert with Slack and Telegram

Started by a clock, and works across Google Sheets, Jira, Slack and Telegram. It hands the judgement calls to OpenAI. 25 steps, 4 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

25 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
0Loops or waits
4Services it connects to

The flow

Starts it 1Model 5Logic 11Service 8

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4OpenAI Chat Model1Lm Chat Open AiModel
  5. 5Decodo HTTP RequestDecodoService
  6. 6CloudFlare OK?IfLogic
  7. 7CloudFlare Alert BotAgentModel
  8. 8Support Request Reader AgentAgentModel
  9. 9Is top of hour?IfLogic
  10. 10Enrich Incidents & ScoreCodeLogic
  11. 11Alert team via TelegramTelegramService
  12. 12Send message via Slack1SlackService
  13. 13Submit JIRA request ticketJiraService
  14. 14Send message via TelegramTelegramService
  15. 15Send message via SlackSlackService
  16. 16No Operation, do nothingNo OpLogic
  17. 17Log IncidentsGoogle SheetsService
  18. 18UTIL: Filter Already AlertedCodeLogic
  19. 19Setup Jira, Slack, EmailSetLogic
  20. 20UTIL: Prepare Notification PayloadCodeLogic
  21. 21High Impact Escalation?IfLogic
  22. 22Send message to IT Support teamSlackService
  23. 23Should broadcast notifications?IfLogic
  24. 24Low Impact BufferNo OpLogic
  25. 25Skip Notification BroadcastNo OpLogic

How it's built

Starts on
A clock
Steps
25, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, Jira, Slack, Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Sheets, Jira, Slack and Telegram 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 25 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 25 steps before you point it at anything that matters.