Send low-stock Shopify reorder alerts with Google Sheets, Slack and Gmail
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs on a schedule (cron 0 7 * * 1-5). Along the way it connects Google Sheets, Shopify, Slack and Gmail.
How it runs
Trigger: On a schedule (cron 0 7 * * 1-5).
- Set alert settings (Edit Fields (Set)): sets 6 fields: email_to, service_level, default_lead_time_days…
- Read SKU reorder settings (Google Sheets): read
- Get Shopify products (Shopify): get many (product)
- Get recent Shopify orders (Shopify): get many (order)
- Calculate reorder points (Code): runs custom JavaScript code
- Any SKUs to reorder? (If): checks a condition and branches into true / false
- Post alert to Slack (Slack): uses Slack
- Email reorder digest (Gmail): uses Gmail
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
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 (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Shopify
n8n-nodes-base.shopify - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview Calculates a statistical reorder point for every tracked Shopify variant each weekday, from 30 days of real order demand and per-SKU lead times kept in Google Sheets. Then it posts SKUs that need ordering to Slack and emails a reorder table…