- Trigger
- At 9:00, the morning batch lands: 640 orders from 30 online stores, bound for cities across the country.
- Plan
- 1. Read each order into clean fields: store, city, items, quantity. structured output
- 2. Apply the routing rules by city, store and product, the ones that used to live in one giant spreadsheet formula.
- 3. Split each city's orders across couriers by the agreed shares.
- 4. Build each courier's upload file in that courier's own format. multi-tool orchestration
- 5. Pull last night's statuses and build the follow-up lists: no attempt yet, returning, redelivery.
- Needs a person
- 22 orders match no rule: a new city and a bulk quantity. The operations associate picks the courier, and nothing is sent to a courier or a customer without her yes. human-in-the-loop approval
- Result
- Every courier's file is ready to upload before 10:00, the follow-up lists are waiting, and the rules sit in one readable file the team can change.