
π Logistics & Supply Chain Β· State Machine
Every state a parcel passes through in a courier network, including failed attempts and returns to sender.
Opening a template is free and never counts toward your daily diagrams. Asking the AI to change it counts as one.
Drawing diagramβ¦
Parcel lifecycle state machine for a courier: booked, picked up, at origin hub, in transit, at destination hub, out for delivery, delivered. A failed delivery attempt returns the parcel to the destination hub; the customer can reschedule; after three failed attempts it is returned to origin (RTO) and delivered back to the sender.
stateDiagram-v2 [*] --> Booked Booked --> PickedUp PickedUp --> AtOriginHub AtOriginHub --> InTransit InTransit --> AtDestinationHub AtDestinationHub --> OutForDelivery OutForDelivery --> Delivered: signed or OTP OutForDelivery --> AttemptFailed: customer unavailable AttemptFailed --> AtDestinationHub: retry or reschedule AttemptFailed --> ReturnToOrigin: third failed attempt ReturnToOrigin --> ReturnedToSender Delivered --> [*] ReturnedToSender --> [*]
A state diagram with 10 states and 10 transitions.
Describe your own system in plain English and CloudSketch AI draws it in seconds. See all AI diagram generators.
From an order leaving the hub to the parcel at the customer's door: rider assignment, live tracking, OTP handover and proof of delivery.
A logistics platform that tracks shipments across carriers: booking, scan events from hubs, carrier integrations and customer notifications.
How a warehouse receives goods: appointment, unloading, checking against the ASN, quality check, putaway and stock update.
How a delivery company plans daily routes: orders, vehicle capacity, time windows and live traffic feed a route optimiser that assigns stops to drivers.
The states of a freight shipment booking, from quote and booking through pickup, transit, customs and delivery.
Where cold chain monitoring runs for vaccines or fresh food: temperature loggers in reefers and cold rooms, gateways, and a cloud alerting platform.