Templates / Send predictive Shopify low-stock alerts with Google Sheets, Slack, and Gmail

Send predictive Shopify low-stock alerts with Google Sheets, Slack, and Gmail

Ready for 3.0

by Tricore Infotech Pvt Ltd ✓ · 33 views · created 2026-05-27 · 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 workflow has 12 nodes and runs on a schedule (every hour) (plus 1 other trigger). Along the way it connects Shopify, Google Sheets, Slack and Gmail.

How it runs

Trigger: On a schedule (every hour) (plus 1 other trigger).

  1. Set Inventory Settings (Edit Fields (Set)): sets 4 fields: daysToCalculateVelocity, recipientMail, googleSheetUrl…
  2. Post Error to Slack (Slack): uses Slack
  3. Read Inventory Logs from Sheets (Google Sheets): uses Google Sheets
  4. Fetch Shopify Orders (Shopify): get many
  5. Fetch Shopify Inventory (Shopify): get many (product)
  6. Calculate Inventory Velocity (Code): runs custom JavaScript code
  7. Append Alert to Sheets (Google Sheets): append
  8. Post Inventory Alert to Slack (Slack): uses Slack
  9. Build Email Content (Code): runs custom JavaScript code
  10. Send Stock Alert Email (Gmail): uses Gmail

Services it uses

ShopifyGoogle SheetsSlackGmail

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

Quick overview This workflow runs daily to calculate Shopify product sales velocity, predict days until stockout, and alert on low inventory. It logs alerted variant IDs to Google Sheets to avoid duplicate notifications, then sends a Slack summary and a…

Excerpt from Tricore Infotech Pvt Ltd'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.