# Assess procurement inflation risk with Groq and Google Sheets: 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/assess-procurement-inflation-risk-with-groq-and-google-sheet (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)

# Assess procurement inflation risk with Groq and Google Sheets

Started by a clock, and works across Gmail, Google Sheets and Slack. It hands the judgement calls to Groq. 23 steps, 2 branches, 1 loop or waits: 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%2Fassess-procurement-inflation-risk-with-groq-and-google-sheet)

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

**2** Branches: places the flow splits

**1** Loop or waits

**3** Services it connects to

## The flow

Starts it 1 Model 4 Logic 11 Service 7

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

- 1 **Groq Chat Model** Lm Chat Groq *Model*
- 2 **Groq Chat Model1** Lm Chat Groq *Model*
- 3 **Weekly Risk Refresh** Schedule trigger *Starts it*
- 4 **AI: Margin Impact Analyst** Agent *Model*
- 5 **AI: Supply Chain Strategist** Agent *Model*
- 6 **Fetch Historical Spend** Google Sheets *Service*
- 7 **Fetch Category Budgets** Google Sheets *Service*
- 8 **Get World Bank Inflation Data** Http Request *Service*
- 9 **Get Live USD/INR FX Rates** Http Request *Service*
- 10 **Format AI Report for Sheet** Set *Logic*
- 11 **Slack: Urgent Overspend Alert** Slack *Service*
- 12 **Join Spend & Budget** Merge *Logic*
- 13 **Join Inflation & FX Rates** Merge *Logic*
- 14 **Sync Results to Dashboard** Google Sheets *Service*
- 15 **Combine Master Data Record** Merge *Logic*
- 16 **Email: Individual Category Update** Gmail *Service*
- 17 **Standardize Variable Names** Set *Logic*
- 18 **Process Each Category** Split In Batches *Logic*
- 19 **Calc: Inflation Adjusted Spend** Code *Logic*
- 20 **Calc: Budget Variance Analysis** Code *Logic*
- 21 **Calc: Margin Leakage Risk** Code *Logic*
- 22 **Check: Over Budget?** If *Logic*
- 23 **Check: High Inflation?** If *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 23, with 2 branches, 1 loop or waits
- **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 23 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 23 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%2Fassess-procurement-inflation-risk-with-groq-and-google-sheet)
- **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.

- [**Build an engineering knowledge graph with ClickUp and GitHub** 23 steps · calls a model · Slack](https://millionrounds.com/workflow/build-an-engineering-knowledge-graph-with-clickup-and-github)
- [**Classify and respond to Facebook Messenger inquiries** 23 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/classify-and-respond-to-facebook-messenger-inquiries)
- [**Create AI Instagram Reels with OpenAI and Veo3** 23 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/create-ai-instagram-reels-with-openai-and-veo3)
- [**Find LinkedIn engagement opportunities with Apify and Gemini** 23 steps · calls a model · Apify, Google Sheets](https://millionrounds.com/workflow/find-linkedin-engagement-opportunities-with-apify-and-gemini)
- [**Omni-Sentinel AI: autonomous enterprise auditor & ROI engine** 23 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/omni-sentinel-ai-autonomous-enterprise-auditor-and-roi-engin)
- [**Reply to Instagram comments and send DMs** 23 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/reply-to-instagram-comments-and-send-dms)
