Automate sales order prioritization with ERP-WMS-TMS integration based on SLA tiers
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs on a schedule (cron */15 * * * *). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (cron */15 * * * *).
- Fetch Pending Orders (HTTP Request): calls an HTTP API
- Fetch Customer SLA Data (HTTP Request): calls an HTTP API (POST)
- Calculate Priority Scores (Code): runs custom JavaScript code
- Check if SLA Critical (If): checks a condition and branches into true / false
- Create Urgent Picking Task (HTTP Request): calls an HTTP API (POST)
- Batch Normal Orders (Loop Over Items (Split in Batches)): loops over the items in batches
- Alert Warehouse Manager (HTTP Request): calls an HTTP API (POST)
- Generate Picking Schedule (Code): runs custom JavaScript code
- Create Bulk Picking Tasks (HTTP Request): calls an HTTP API (POST)
- Generate Dispatch Schedule (Code): runs custom JavaScript code
…plus 4 more steps. See the full node list below.
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 (5)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
This n8n workflow automates the prioritization and scheduling of sales orders based on customer SLAs, urgency, and profitability. It ensures that high-priority and SLA-critical orders are picked, packed, and dispatched first—improving fulfillment speed,…