# Track supplier compliance and send AI-generated alerts: n8n workflow

> Started by a clock, and works across Gmail, Notion and Slack. It hands the judgement calls to Groq.

Source: https://millionrounds.com/workflow/track-supplier-compliance-and-send-ai-generated-alerts (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Alerts and monitoring](https://millionrounds.com/workflows?category=Alerts+and+monitoring#library)

# 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.

Medium Calls a model: Groq

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftrack-supplier-compliance-and-send-ai-generated-alerts)

**19 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**2** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 3 Logic 8 Service 7

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

- 1 **Groq Llama 3.3 Model** Lm Chat Groq *Model*
- 2 **Schedule Trigger** Schedule trigger *Starts it*
- 3 **Generate Communications** Chain Llm *Model*
- 4 **JSON Output Parser** Output Parser Structured *Model*
- 5 **Fetch Supplier Database** Notion *Service*
- 6 **API Rate Limit Buffer** Wait *Logic*
- 7 **Calculate Expiry Timelines** Code *Logic*
- 8 **Format Loop Output** Set *Logic*
- 9 **Loop Supplier Records** Split In Batches *Logic*
- 10 **Format Routing Data** Set *Logic*
- 11 **Prepare AI Prompt Data** Set *Logic*
- 12 **Urgency Routing Engine** Switch *Logic*
- 13 **Stamp Last Alert Date** Notion *Service*
- 14 **Standard Renewal Notice** Gmail *Service*
- 15 **Routine Internal Alert** Slack *Service*
- 16 **Prepare Escalation Data** Set *Logic*
- 17 **Suspend Vendor Status** Notion *Service*
- 18 **Risk Team Escalation** Slack *Service*
- 19 **Final Suspension Warning** Gmail *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftrack-supplier-compliance-and-send-ai-generated-alerts)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Notion](https://millionrounds.com/workflows?service=Notion#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also alerts and monitoring, with the same services where possible, closest in size first.

- [**Automated Gmail classification & response system with OpenAI** 19 steps · calls a model · Gmail, WhatsApp](https://millionrounds.com/workflow/automated-gmail-classification-and-response-system-with-open)
- [**Detect fake product reviews with OpenAI and Airtable** 19 steps · calls a model · Airtable, Slack](https://millionrounds.com/workflow/detect-fake-product-reviews-with-openai-and-airtable)
- [**Label incoming Gmail messages with Gemini and Telegram** 19 steps · calls a model · Gmail, Telegram](https://millionrounds.com/workflow/label-incoming-gmail-messages-with-gemini-and-telegram)
- [**Monitor competitor prices with OpenAI and Google Sheets** 19 steps · calls a model · Google Sheets, Notion](https://millionrounds.com/workflow/monitor-competitor-prices-with-openai-and-google-sheets)
- [**Monitor warehouse receiving performance with Google Sheets** 19 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/monitor-warehouse-receiving-performance-with-google-sheets)
- [**Notify HubSpot deal stage changes with OpenAI and Slack** 19 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/notify-hubspot-deal-stage-changes-with-openai-and-slack)
