Monitor supplier diversity and ESG spend with Google Sheets, Groq and Notion
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs on a schedule (every week at 09:00). Along the way it connects Google Sheets, Groq Chat Model, Notion and Gmail.
How it runs
Trigger: On a schedule (every week at 09:00).
- Set Config (Edit Fields (Set)): sets 8 fields: company_name, spreadsheet_id, suppliers_sheet…
- Get Suppliers (Google Sheets): uses Google Sheets
- Get Procurement Spend (Google Sheets): uses Google Sheets
- Get Targets (Google Sheets): uses Google Sheets
- Merge: merges the data from its input branches
- Normalize Data (Code): runs custom JavaScript code
- Calculate Spend Metrics (Code): runs custom JavaScript code
- Targets Met? (If): checks a condition and branches into true / false
- AI - Executive Summary (Basic LLM Chain): sends a prompt to an LLM, with model: Groq Chat Model
- Find Rebalancing Opportunities (Code): runs custom JavaScript code
…plus 5 more steps. See the full node list below.
Services it uses
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 (10)
- Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Notion
n8n-nodes-base.notion - Gmail
n8n-nodes-base.gmail - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Merge
n8n-nodes-base.merge
From the author
Quick Overview This workflow runs every Monday to read supplier, transaction, and target data from Google Sheets, calculates supplier diversity and ESG spend performance, generates rebalancing recommendations with Groq when targets are missed, then publishes…