1. Pull incoming orders. From Shopify, in near real time. Order number, customer, items, ship-to, channel, service level.
2. Pull live inventory. From NetSuite or your ERP. On-hand by SKU, by warehouse, with the reservation logic applied.
3. Pull SLA and zone data. Shipping zone by ship-to, service-level commitment by channel, transit times by warehouse.
4. Apply the routing rules. Closest warehouse with stock, prefer DTC over wholesale lanes, honor split or no-split logic, respect overflow rules at peak.
5. Assign the order. Pick the warehouse, set the carrier, lock the service level. The flow generates the assignment record.
6. Push to the WMS. API call to ShipHero, Fulfil, or your 3PL. The assignment lands as a pickable order in the right facility.
7. Log and alert on exceptions. Anything that did not route cleanly lands in a review queue with the reason attached. Stuck routes alert the ops team in Slack.