Generate low stock alerts from Shopify and export results to Sheets or CSV
Ready for 3.0What this workflow does
This workflow has 20 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Config (Code): runs custom JavaScript code
- Mode = mock? (If): checks a condition and branches into true / false
- Mock inventory (fake data) (Code): runs custom JavaScript code
- Build products query (Code): runs custom JavaScript code
- Compute alerts (Code): runs custom JavaScript code
- Shopify products (GraphQL) (HTTP Request): calls an HTTP API (POST)
- Rows: Alerts (Code): runs custom JavaScript code
- Rows: Summary (Code): runs custom JavaScript code
- Build orders query (Code): runs custom JavaScript code
- Alerts to sheet? (If): checks a condition and branches into true / false
…plus 9 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 (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Convert to File
n8n-nodes-base.convertToFile - Read/Write Files from Disk
n8n-nodes-base.readWriteFile
From the author
Quick overview Free n8n workflow that flags OUT / LOW variants and suggests a reorder point from your last 30 days of unit sales. Demo mode uses built-in fake data; no LLM required. How it works 1. Runs manually and loads configuration such as data source…