CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
πŸŒ™β˜€οΈ
Log inStart free
Home/Templates/Logistics & Supply Chain

🚚 Logistics & Supply Chain · Sequence

Last-Mile Delivery Sequence

From an order leaving the hub to the parcel at the customer's door: rider assignment, live tracking, OTP handover and proof of delivery.

More Logistics & Supply Chain templates

Drawing diagram…

What this diagram shows

  • Nearest available rider is assigned automatically
  • Customer gets a live tracking link
  • OTP and photo are the proof of delivery

Prompt used

Last-mile delivery sequence: the hub marks a parcel ready, the dispatch service picks the nearest available rider and optimises the route, the rider app accepts and scans the parcel, the customer gets a tracking link with live location, on arrival the customer shares the OTP, the rider takes a photo as proof of delivery, and the order service marks it delivered and notifies the customer.

Mermaid code
sequenceDiagram
  participant Hub as Hub System
  participant D as Dispatch Service
  participant R as Rider App
  participant T as Tracking Service
  actor C as Customer
  participant O as Order Service
  Hub->>D: Parcel ready for delivery
  D->>D: Pick nearest rider, optimise route
  D->>R: New delivery
  R-->>D: Accepted
  R->>Hub: Scan parcel
  D->>C: SMS with tracking link
  loop Every 10 seconds
    R->>T: GPS location
    T-->>C: Live location on map
  end
  R->>C: Arrived, ask for OTP
  C-->>R: OTP 4821
  R->>O: OTP + delivery photo
  O-->>C: Delivered, rate your experience

Related templates

C4 ArchitectureProLogistics & Supply Chain

Shipment Tracking Platform Architecture

A logistics platform that tracks shipments across carriers: booking, scan events from hubs, carrier integrations and customer notifications.

FlowchartLogistics & Supply Chain

Warehouse Inbound Receiving

How a warehouse receives goods: appointment, unloading, checking against the ASN, quality check, putaway and stock update.

Data FlowLogistics & Supply Chain

Fleet Route Optimisation Data Flow

How a delivery company plans daily routes: orders, vehicle capacity, time windows and live traffic feed a route optimiser that assigns stops to drivers.

State MachineLogistics & Supply Chain

Freight Booking Lifecycle

The states of a freight shipment booking, from quote and booking through pickup, transit, customs and delivery.

DeploymentProLogistics & Supply Chain

Cold Chain Monitoring Deployment

Where cold chain monitoring runs for vaccines or fresh food: temperature loggers in reefers and cold rooms, gateways, and a cloud alerting platform.

Database ERDLogistics & Supply Chain

Logistics Shipment Database Schema

Tables for a logistics system: customers, shipments, packages, consignment legs, hubs, vehicles and tracking events.