Automation library · Alerts and monitoring

Track supplier compliance and send AI-generated alerts

Started by a clock, and works across Gmail, Notion and Slack. It hands the judgement calls to Groq. 19 steps, 1 branch, 2 loops or waits: a working afternoon to understand properly.

MediumCalls a model: Groq

19 stepsMedium: a working afternoon
1Branch: places the flow splits
2Loops or waits
3Services it connects to

The flow

Starts it 1Model 3Logic 8Service 7

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

  1. 1Groq Llama 3.3 ModelLm Chat GroqModel
  2. 2Schedule TriggerSchedule triggerStarts it
  3. 3Generate CommunicationsChain LlmModel
  4. 4JSON Output ParserOutput Parser StructuredModel
  5. 5Fetch Supplier DatabaseNotionService
  6. 6API Rate Limit BufferWaitLogic
  7. 7Calculate Expiry TimelinesCodeLogic
  8. 8Format Loop OutputSetLogic
  9. 9Loop Supplier RecordsSplit In BatchesLogic
  10. 10Format Routing DataSetLogic
  11. 11Prepare AI Prompt DataSetLogic
  12. 12Urgency Routing EngineSwitchLogic
  13. 13Stamp Last Alert DateNotionService
  14. 14Standard Renewal NoticeGmailService
  15. 15Routine Internal AlertSlackService
  16. 16Prepare Escalation DataSetLogic
  17. 17Suspend Vendor StatusNotionService
  18. 18Risk Team EscalationSlackService
  19. 19Final Suspension WarningGmailService

How it's built

Starts on
A clock
Steps
19, with 1 branch, 2 loops or waits
Size
Medium: a working afternoon
Connects to
Gmail, Notion, Slack
Model
Groq

Questions

What does it need to run?

An n8n account, plus your own Gmail, Notion and Slack accounts, and a key for Groq. 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 Groq. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 19 steps is enough that you should read each one before running it.

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