Track inventory levels with automated alerts
Ready for 3.0What this workflow does
This workflow has 25 nodes and runs when an HTTP GET request hits its webhook URL (plus 1 other trigger). Along the way it connects Slack and Gmail.
How it runs
Trigger: When an HTTP GET request hits its webhook URL (plus 1 other trigger).
- Validate Movement (Code): runs custom JavaScript code
- Format Error (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Slack: uses Slack
- Prepare API Body (Code): runs custom JavaScript code
- Format Validation Error (Code): runs custom JavaScript code
- API - Record Movement (HTTP Request): calls an HTTP API
- Respond - Validation Error (Respond to Webhook): sends the response back to the webhook caller
- API - Get Current Stock (HTTP Request): calls an HTTP API
- Check Stock Levels (Code): runs custom JavaScript code
…plus 12 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 (10)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - No Operation, do nothing
n8n-nodes-base.noOp - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Receive inventory movements via webhook, validate data, update stock levels, and trigger automatic alerts when products need reordering. WHAT IT DOES: Accepts inventory movements (sales, purchases, adjustments, transfers) via webhook Validates required fields…