Templates / Analyze procurement spend with Google Sheets, Groq Llama 3.3, Notion, and Gmail

Analyze procurement spend with Google Sheets, Groq Llama 3.3, Notion, and Gmail

Ready for 3.0

by WeblineIndia ✓ · 6 views · created 2026-08-18 · Market Research, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 18 nodes and runs on a schedule (every day at 09:00). Along the way it connects Groq Chat Model, Google Sheets, Gmail and Notion.

How it runs

Trigger: On a schedule (every day at 09:00).

  1. Workflow Config (Edit Fields (Set)): sets 4 fields: lookbackDays, minSpendForAI, priorityThreshold…
  2. Fetch Spend Data (Google Sheets): uses Google Sheets
  3. Normalize & Build Matrix (Code): runs custom JavaScript code
  4. Fragmentation, Overlap & Model Scenarios (Code): runs custom JavaScript code
  5. Compare, Score & Rank (Code): runs custom JavaScript code
  6. AI Pass 1: Spend Pattern Analyst (AI Agent): runs an AI agent, with model: Groq Llama 3.3 (Analyst)
  7. Parse AI Output (Code): runs custom JavaScript code
  8. High Priority Opportunity? (If): checks a condition and branches into true / false
  9. AI Pass 2: Playbook Strategist (AI Agent): runs an AI agent, with model: Groq Llama 3.3 (Strategist)
  10. Executive Rollup (Code): runs custom JavaScript code

…plus 5 more steps. See the full node list below.

Services it uses

Groq Chat ModelGoogle SheetsGmailNotion

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (11)

From the author

Quick overview This workflow runs daily, reads procurement spend data from Google Sheets, calculates category-level savings and risk metrics, uses Groq (Llama 3.3) to generate Kraljic Matrix insights, logs results to Notion, appends metrics to a Google Sheets…

Excerpt from WeblineIndia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.