Automation library · Alerts and monitoring

Automated n8n error monitoring alerts - Telegram, Slack & email

Started by another system calling it, and works across Gmail, Google Sheets, Slack and Telegram. It hands the judgement calls to OpenAI. 21 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

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

The flow

Starts it 2Model 2Logic 8Service 9

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

  1. 1Lead Form SubmittedWebhookStarts it
  2. 2GPT-4o Mini Lead ModelLm Chat Open AiModel
  3. 3Weekly Pipeline DigestSchedule triggerStarts it
  4. 4Normalize Lead FieldsSetLogic
  5. 5Score Lead with AI AgentAgentModel
  6. 6Load Pipeline Leads from SheetGoogle SheetsService
  7. 7Validate Lead DataIfLogic
  8. 8Extract AI ScoreSetLogic
  9. 9Compute Pipeline StatsCodeLogic
  10. 10Flag Invalid LeadSetLogic
  11. 11Append Lead to Pipeline SheetGoogle SheetsService
  12. 12Format Digest MessageSetLogic
  13. 13Notify Team About Invalid LeadTelegramService
  14. 14Is Lead Hot?IfLogic
  15. 15Send Digest on TelegramTelegramService
  16. 16Log Rejected Lead to SheetGoogle SheetsService
  17. 17Notify Sales on SlackSlackService
  18. 18Mark Lead for NurtureSetLogic
  19. 19Email Digest to Sales ManagerGmailService
  20. 20Notify Sales on TelegramTelegramService
  21. 21Send Nurture Update on TelegramTelegramService

How it's built

Starts on
Another system calling it
Steps
21, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets, Slack, Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets, 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 another system calling it.

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 21 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 21 steps before you point it at anything that matters.