Templates / Monitor D2C inventory, forecast demand with GPT-4o, and send POs via Google Sheets and Gmail

Monitor D2C inventory, forecast demand with GPT-4o, and send POs via Google Sheets and Gmail

Ready for 3.0

by Rahul Joshi ✓ · 189 views · created 2026-03-09 · 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 41 nodes and runs on a schedule (every day at 08:00) (plus 4 other triggers). Along the way it connects Google Sheets, Gmail and OpenAI. It also calls dummyjson.com over HTTP.

How it runs

Trigger: On a schedule (every day at 08:00) (plus 4 other triggers).

  1. Fetch Products (DummyJSON) (HTTP Request): calls dummyjson.com
  2. Read Inventory Master (Google Sheets): uses Google Sheets
  3. Read Inventory Master (Google Sheets): uses Google Sheets
  4. Read Inventory Master (Google Sheets): uses Google Sheets
  5. Read sales log (Google Sheets): uses Google Sheets
  6. Simulate Daily Sales (Code): runs custom JavaScript code
  7. Read Sales Log (Google Sheets): uses Google Sheets
  8. Filter Stockout SKUs (If): checks a condition and branches into true / false
  9. Filter Dead & Overstock SKUs (If): checks a condition and branches into true / false
  10. Read Inventory Master (Google Sheets): uses Google Sheets

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

Services it uses

Google SheetsGmailOpenAI

HTTP calls to: dummyjson.com

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

From the author

📊 Description Stop finding out you're out of stock after a customer already tried to buy. This workflow monitors your entire product inventory daily, calculates how fast each SKU is selling, and automatically raises purchase orders to your supplier before…

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