Automate inventory management with Google Sheets & Gmail
Ready for 3.0Ready 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.
Nodes used (8)
- Gmail
n8n-nodes-base.gmail - Switch
n8n-nodes-base.switch - Code
n8n-nodes-base.code - No Operation, do nothing
n8n-nodes-base.noOp - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if
What it does
✅ 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 detecting low-stock items to generating purchase orders and emailing suppliers automatically. It ensures accurate stock levels, reduces manual work, and prevents stockouts. --- 💡 Main Use Cases - 🔍 Identify low-stock items automatically based on thresholds - 📊 Perform scheduled daily inventory checks - 🧾 Auto-generate purchase orders for items that need replenishment - ✉️ Email purchase orders directly to suppliers - 📄 Update Google Sheets with order and inventory tracking information --- 🧠 How It Works – Step-by-Step 1. ⏰ Scheduled Trigger The workflow runs automatically every day (or any chosen interval) to begin inventory checks without manual involvement. --- 2. 📉 Get Low-Stock Items Reads your Google Sheets inventory file to identify items where current stock < minimum stock threshold. --- 3. 🧮 Process Each Low-Stock Item For every item below the Header 1threshold: - Calculates the required order quantity - Generates purchase order details, including - SKU / Item Name - Quantity Needed - Supplier Email - Stock Levels --- 4. 🔀 Conditional Flow For each low-stock item: Purchase Order Actions - Creates a purchase order email using the generated details - Sends the PO automatically to the supplier via Gmail - Logs the PO entry in Google Sheets with: - Item Details - Order Quantity - Supplier - Timestamp - Status (“PO Sent”) --- 5. 📢 Notifications Sends purchase order emails directly to suppliers. (Optional) Internal notifications (Slack/email) can be added for procurement visibility. --- 📊 Logging & Reporting All actions — PO creation, stock levels, supplier emails — are written back to Google Sheets for complete auditability and reporting. --- 👤 Who can use this? Perfect for: - Retail & eCommerce businesses - Warehouse teams - Procurement & purchasing departments - Manufacturing operations - Any business managing physical inventory --- 🚀 Benefits - ⏱ Automated stock monitoring - 📦 Prevents stockouts - ✉️ Eliminates manual PO creation - 📚 Creates a complete audit trail - 🧠 Smart, rule-based reorder logic ---