Automation library · Alerts and monitoring

Monitor HTTP endpoints and send state-change alerts

Started by a clock, and works across Google Sheets and Slack. 25 steps, 4 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large

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

The flow

Starts it 3Logic 15Service 7

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

  1. 1Every 5 minutesSchedule triggerStarts it
  2. 2Run once nowManual triggerStarts it
  3. 3Every morning at 08:00Schedule triggerStarts it
  4. 4Endpoints to watchCodeLogic
  5. 5Read what happenedCodeLogic
  6. 6Split endpointsSplit In BatchesLogic
  7. 7Build digestCodeLogic
  8. 8Ping endpointHttp RequestService
  9. 9Anything worth sending?IfLogic
  10. 10Judge responseCodeLogic
  11. 11Send daily digestSlackService
  12. 12Quiet day, say nothingNo OpLogic
  13. 13Healthy?IfLogic
  14. 14Track state changeCodeLogic
  15. 15Wait 30 secondsWaitLogic
  16. 16What happened?SwitchLogic
  17. 17Still down long enough to escalate?IfLogic
  18. 18Second attemptHttp RequestService
  19. 19Compose down messageSetLogic
  20. 20Compose recovery messageSetLogic
  21. 21Escalate to on-callSlackService
  22. 22Confirm outageCodeLogic
  23. 23Alert: went downSlackService
  24. 24Append to outage logGoogle SheetsService
  25. 25Alert: recoveredSlackService

How it's built

Starts on
A clock
Steps
25, with 4 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, Slack
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

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

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

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.