Assess procurement inflation risk with Groq, Google Sheets, World Bank and Slack
Ready for 3.0What this workflow does
This AI workflow has 23 nodes and runs on a schedule (every week at 09:00). Along the way it connects Groq Chat Model, Google Sheets, Gmail and Slack. It also calls api.worldbank.org and open.er-api.com over HTTP.
How it runs
Trigger: On a schedule (every week at 09:00).
- Fetch Historical Spend (Google Sheets): uses Google Sheets
- Fetch Category Budgets (Google Sheets): uses Google Sheets
- Get World Bank Inflation Data (HTTP Request): calls api.worldbank.org
- Get Live USD/INR FX Rates (HTTP Request): calls open.er-api.com
- Join Spend & Budget (Merge): merges the data from its input branches
- Join Inflation & FX Rates (Merge): merges the data from its input branches
- Combine Master Data Record (Merge): merges the data from its input branches
- Standardize Variable Names (Edit Fields (Set)): sets 5 fields: category, spend, budget…
- Process Each Category (Loop Over Items (Split in Batches)): loops over the items in batches
- Calc: Inflation Adjusted Spend (Code): runs custom JavaScript code
…plus 10 more steps. See the full node list below.
Services it uses
HTTP calls to: api.worldbank.org, open.er-api.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (12)
- Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Edit Fields (Set)
n8n-nodes-base.set - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack
From the author
Quick Overview This workflow runs weekly to combine procurement spend and budget data from Google Sheets with inflation data from the World Bank API and USD/INR FX rates, then uses Groq (OpenAI gpt-oss-120b) to generate risk narratives, updates a dashboard…