# Triage supplier capacity risk with Groq and Gmail: n8n workflow

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

Source: https://millionrounds.com/workflow/triage-supplier-capacity-risk-with-groq-and-gmail (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Chat assistants](https://millionrounds.com/workflows?category=Chat+assistants#library)

# Triage supplier capacity risk with Groq and Gmail

Started by a clock, and works across Gmail, Google Sheets and Slack. It hands the judgement calls to Groq. 22 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: Groq

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftriage-supplier-capacity-risk-with-groq-and-gmail)

**22 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 4 Logic 11 Service 6

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

- 1 **LLM Risk Engine** Lm Chat Groq *Model*
- 2 **LLM Action Generator** Lm Chat Groq *Model*
- 3 **Daily Trigger** Schedule trigger *Starts it*
- 4 **Classify Supplier Risk (AI)** Agent *Model*
- 5 **Generate Mitigation Actions** Agent *Model*
- 6 **Initialize Risk Config** Set *Logic*
- 7 **Validate & Merge Risk Output** Code *Logic*
- 8 **Format Action Recommendations** Code *Logic*
- 9 **Get Supplier Performance Data** Http Request *Service*
- 10 **Check High Risk Condition** If *Logic*
- 11 **Combine Actions & Backup Data** Merge *Logic*
- 12 **Check Valid Orders** If *Logic*
- 13 **Get Backup Supplier Options** Http Request *Service*
- 14 **Prepare Non-Critical Log** Code *Logic*
- 15 **Prepare Alert Payload** Code *Logic*
- 16 **Normalize Supplier Data** Code *Logic*
- 17 **ormat Backup Supplier List** Code *Logic*
- 18 **Log Low/Medium Event** Google Sheets *Service*
- 19 **Send Email Notification** Gmail *Service*
- 20 **Compute Risk Metrics** Code *Logic*
- 21 **Send Slack Notification** Slack *Service*
- 22 **Log High Risk Event** Google Sheets *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 22, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Sheets, Slack
- **Model:** Groq

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets 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?

Take your time. At 22 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 22 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%2Ftriage-supplier-capacity-risk-with-groq-and-gmail)
- **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)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also chat assistants, with the same services where possible, closest in size first.

- [**Audit browser and proxy fingerprint/IP integrity with OpenAI** 22 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/audit-browser-and-proxy-fingerprint-ip-integrity-with-openai)
- [**Audit landing page conversions with DeepSeek and Google Sheets** 22 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/audit-landing-page-conversions-with-deepseek-and-google-shee)
- [**Detect and remediate leaked secret on repo with GitHub and AWS** 22 steps · calls a model · Jira, Slack](https://millionrounds.com/workflow/detect-and-remediate-leaked-secret-on-repo-with-github-and-a)
- [**Detect multi-source transaction fraud and reconcile finances** 22 steps · calls a model · Gmail, Postgres](https://millionrounds.com/workflow/detect-multi-source-transaction-fraud-and-reconcile-finances)
- [**Empower your AI chatbot with OpenAI and Gmail** 22 steps · calls a model · Gmail, Google Docs](https://millionrounds.com/workflow/empower-your-ai-chatbot-with-openai-and-gmail)
- [**Generate AI camera moves with Seedance** 22 steps · calls a model · ClickUp, Google Drive](https://millionrounds.com/workflow/generate-ai-camera-moves-with-seedance)
