Step 1
Gather the orders eligible for automated fulfillment, the existing fulfillment and cancellation records for each, the warehouse rules that decide which location serves an order, the carriers in use, and the idempotency key the workflow uses to recognise a repeat event.