Sync inventory across Shopify, Amazon, Flipkart with Google Sheets and Slack alerts
Ready for 3.0What this workflow does
This workflow has 40 nodes and runs on a schedule (every 10 minutes) (plus 1 other trigger). Along the way it connects Google Sheets and Slack. It also calls api.amazon.com, sellingpartnerapi-eu.amazon.com and api.flipkart.net over HTTP.
How it runs
Trigger: On a schedule (every 10 minutes) (plus 1 other trigger).
- Set Sync Config (Code): runs custom JavaScript code
- Validate Adjustment (Code): runs custom JavaScript code
- Read Sync State (Google Sheets): uses Google Sheets
- Queue Adjustment (Google Sheets): append
- Resolve Order Cursor (Code): runs custom JavaScript code
- Post Adjustment to Slack (Slack): uses Slack
- Read Inventory Master (Google Sheets): uses Google Sheets
- Read Processed Lines (Google Sheets): uses Google Sheets
- Read Pending Adjustments (Google Sheets): uses Google Sheets
- Fetch Changed Shopify Orders (HTTP Request): calls an HTTP API (POST)
…plus 28 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314)
HTTP calls to: api.amazon.com, sellingpartnerapi-eu.amazon.com, api.flipkart.net
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if
From the author
Quick overview This workflow syncs a single inventory count across Shopify, Amazon (SP-API), and Flipkart every 10 minutes using Google Sheets as the inventory master and ledger, then updates channel quantities with a safety buffer and posts low-stock and…