Templates / Automate inventory management with Google Sheets & Gmail

Automate inventory management with Google Sheets & Gmail

Ready for 3.0

by InfyOm Technologies ✓ · 747 views · created 2025-12-11 · Miscellaneous

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 workflow has 11 nodes and runs on a schedule (every day). Along the way it connects Gmail and Google Sheets.

How it runs

Trigger: On a schedule (every day).

  1. Get Low Stock Product (Google Sheets): uses Google Sheets
  2. Order Handling (Code): runs custom JavaScript code
  3. Generate Email & PO (Code): runs custom JavaScript code
  4. Switch: routes items into 2 branches
  5. Send Order to Suplier (Gmail): uses Gmail
  6. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Get Purchase Order (Google Sheets): uses Google Sheets
  8. Check Record Exists Or Not (If): checks a condition and branches into true / false
  9. Store a Purchase Order (Google Sheets): append

Services it uses

GmailGoogle Sheets

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

From the author

✅ What problem does this workflow solve? Managing inventory manually requires constant monitoring, manual purchase order creation, and back-and-forth communication with suppliers. This workflow automates the entire inventory replenishment cycle — from…

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