Shopify & WooCommerce inventory sync with Google Sheets alerts
Ready for 3.0What this workflow does
This workflow has 20 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- 📝 Parse Trigger Data (Edit Fields (Set)): sets 4 fields: triggerType, sku, platform…
- 📝 Prepare Update Actions (Code): runs custom JavaScript code
- 🛍️ Fetch Shopify Inventory (HTTP Request): calls an HTTP API
- 🛒 Fetch WooCommerce Inventory (HTTP Request): calls an HTTP API
- 🚨 Needs Manual Review? (If): checks a condition and branches into true / false
- Merge: merges the data from its input branches
- 📊 Log to Google Sheets Audit (Google Sheets): append or update
- 🔀 Split Updates by Platform (Code): runs custom JavaScript code
- 🔍 Compare & Identify Discrepancies (Code): runs custom JavaScript code
- 📧 Send Notification? (If): checks a condition and branches into true / false
…plus 8 more steps. See the full node list below.
Services it uses
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 (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
How It Works A webhook or timer triggers the workflow to automatically fetch inventory data from multiple platforms. Stock levels are compared across stores to identify discrepancies, and any inconsistencies are updated on the respective platforms in real…