Monitor procurement spend and risks with Google Sheets, Groq Llama and Gmail
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every 15 minutes). Along the way it connects Google Sheets, Groq Chat Model and Gmail.
How it runs
Trigger: On a schedule (every 15 minutes).
- Fetch Procurement Transactions (Google Sheets): uses Google Sheets
- Fetch Department Budgets (Google Sheets): uses Google Sheets
- Merge: merges the data from its input branches
- Spend Intelligence Engine (Code): runs custom JavaScript code
- AI Procurement Risk Analyzer (AI Agent): runs an AI agent, with model: Groq Chat Model
- Generate Executive Dashboard Metrics (Code): runs custom JavaScript code
- Prepare Dashboard Metadata (Edit Fields (Set)): sets 5 fields: workflow_name, workflow_version, environment…
- Transform Dashboard For Sheets (Code): runs custom JavaScript code
- Route Dashboard Records (Switch): routes items into 3 branches
- Store Executive Summary (Google Sheets): append
…plus 4 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 (11)
- Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Switch
n8n-nodes-base.switch - No Operation, do nothing
n8n-nodes-base.noOp - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick Overview This workflow runs every 15 minutes to pull procurement transactions and department budgets from Google Sheets, calculate spend utilization and forecasts, generate executive risk insights with Groq Llama, write dashboard records back to Google…