Templates / Plan weekly inventory reorders with Groq and Gmail approvals

Plan weekly inventory reorders with Groq and Gmail approvals

Ready for 3.0

by Salim Kabir ✓ · 0 views · created 2026-11-19 · CRM, AI Summarization

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 47 nodes and runs on a schedule (cron 0 8 * * 1) (plus 2 other triggers). Along the way it connects Google Sheets, Groq Chat Model and Gmail.

How it runs

Trigger: On a schedule (cron 0 8 * * 1) (plus 2 other triggers).

  1. Set Inventory Parameters (Edit Fields (Set)): sets 8 fields: business_name, buyer_email, currency…
  2. Read the reply (Edit Fields (Set)): sets 3 fields: po_number, from_email, reply_text
  3. Alert owner about the failure (Gmail): send (message)
  4. Read Products sheet (Google Sheets): read (sheet)
  5. Read Sales sheet (Google Sheets): read (sheet)
  6. Is it about a purchase order? (If): checks a condition and branches into true / false
  7. Keep active products (Filter): keeps only the items that match a condition
  8. Keep sales in the lookback window (Filter): keeps only the items that match a condition
  9. Understand supplier reply (Basic LLM Chain): sends a prompt to an LLM, with model: Groq reply model; output parser: Reply format
  10. Attach sales to products (Merge): merges the data from its input branches

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

Services it uses

Google SheetsGroq Chat ModelGmail

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 (18)

From the author

Quick overview This workflow runs every Monday to calculate inventory reorder points and purchase orders from n8n Data Tables, uses Groq to draft buyer and supplier notes, and sends an approval email via Gmail before emailing approved purchase orders to…

Excerpt from Salim Kabir'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.