Templates / Reorder inventory and track supplier confirmations with Sheets, Gmail and GPT-4 Mini

Reorder inventory and track supplier confirmations with Sheets, Gmail and GPT-4 Mini

Ready for 3.0

by Luca ✓ · 2 views · created 2026-09-24 · 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-10-19.

What this workflow does

This AI workflow has 57 nodes and runs on a schedule (cron 0 7 * * 1-5) (plus 2 other triggers). Along the way it connects Google Sheets, Gmail and OpenAI Chat Model.

How it runs

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

  1. Set Reorder Policy (Edit Fields (Set)): sets 21 fields: sheet_id, buyer_email, ops_email…
  2. Set Confirmation Rules (Edit Fields (Set)): sets 6 fields: sheet_id, buyer_email, price_tolerance_pct…
  3. Alert on Workflow Failure (Gmail): uses Gmail
  4. Read Products from Sheets (Google Sheets): uses Google Sheets
  5. Read Open Orders for Reply (Google Sheets): uses Google Sheets
  6. Aggregate: combines items into one
  7. Aggregate: combines items into one
  8. Read Stockouts from Sheets (Google Sheets): uses Google Sheets
  9. Strip the Quoted Reply (Code): runs custom JavaScript code
  10. Aggregate: combines items into one

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

Services it uses

Google SheetsGmailOpenAI Chat Model

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (When a Supplier Replies).

Nodes used (15)

From the author

Quick Overview This workflow audits inventory and open purchase orders in Google Sheets, calculates reorder quantities based on measured demand and lead times, and emails purchase orders via Gmail with optional buyer approval; it also uses OpenAI to extract…

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