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

🚚 Logistics & Supply Chain · Data Flow

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.

More Logistics & Supply Chain templates

Opening a template is free and never counts toward your daily diagrams. Asking the AI to change it counts as one.

Drawing diagram…

What this diagram shows

  • Orders are geocoded and grouped by delivery window
  • The optimiser respects vehicle capacity and driver shifts
  • Routes are re-optimised during the day for new orders and traffic

Prompt used

Data flow for route optimisation: overnight orders are geocoded, combined with vehicle capacities, driver shifts, depot locations and customer time windows; the route optimiser (vehicle routing solver) uses a road distance matrix and traffic forecasts to produce routes, which are published to the driver app. During the day, live GPS, traffic and new orders trigger re-optimisation, and actual delivery times feed back to improve travel time estimates.

Mermaid code
flowchart LR
subgraph EXT ["External entities"]
oms["Order System"]
drv["Driver App"]
traffic["Traffic and Map Provider"]
end
subgraph PROC ["Processes"]
p1("1.0 Geocode orders")
p2("2.0 Optimise routes (VRP solver)")
p3("3.0 Publish routes")
p4("4.0 Track deliveries live")
p5("5.0 Re-optimise during the day")
p6("6.0 Update travel time estimates")
end
subgraph STORE ["Data stores"]
d1[("D1 Vehicles, Capacities and Shifts")]
d2[("D2 Depots and Time Windows")]
d3[("D3 Road Distance Matrix")]
end
oms -->|"Overnight orders"| p1
p1 -->|"Geocoded stops"| p2
d1 -->|"Vehicles and driver shifts"| p2
d2 -->|"Depots and time windows"| p2
d3 -->|"Road distances"| p2
traffic -->|"Traffic forecasts"| p2
p2 -->|"Routes and stop order"| p3
p3 -->|"Routes"| drv
drv -->|"Live GPS and delivered times"| p4
p4 -->|"Delays"| p5
oms -->|"New orders"| p5
p5 -->|"Updated routes"| p3
p4 -->|"Actual travel times"| p6
p6 -->|"Updated travel times"| d3

Inside this diagram

A data flow diagram with 9 processes and outside parties, 3 data stores and 14 data flows.

Processes and outside parties

  • Order System
  • Driver App
  • Traffic and Map Provider
  • 1.0 Geocode orders
  • 2.0 Optimise routes (VRP solver)
  • 3.0 Publish routes
  • 4.0 Track deliveries live
  • 5.0 Re-optimise during the day
  • 6.0 Update travel time estimates

Data stores

  • D1 Vehicles, Capacities and Shifts
  • D2 Depots and Time Windows
  • D3 Road Distance Matrix

Data flows

  • Order System β†’ 1.0 Geocode orders: Overnight orders
  • 1.0 Geocode orders β†’ 2.0 Optimise routes (VRP solver): Geocoded stops
  • D1 Vehicles, Capacities and Shifts β†’ 2.0 Optimise routes (VRP solver): Vehicles and driver shifts
  • D2 Depots and Time Windows β†’ 2.0 Optimise routes (VRP solver): Depots and time windows
  • D3 Road Distance Matrix β†’ 2.0 Optimise routes (VRP solver): Road distances
  • Traffic and Map Provider β†’ 2.0 Optimise routes (VRP solver): Traffic forecasts
  • 2.0 Optimise routes (VRP solver) β†’ 3.0 Publish routes: Routes and stop order
  • 3.0 Publish routes β†’ Driver App: Routes
  • Driver App β†’ 4.0 Track deliveries live: Live GPS and delivered times
  • 4.0 Track deliveries live β†’ 5.0 Re-optimise during the day: Delays
  • Order System β†’ 5.0 Re-optimise during the day: New orders
  • 5.0 Re-optimise during the day β†’ 3.0 Publish routes: Updated routes
  • 4.0 Track deliveries live β†’ 6.0 Update travel time estimates: Actual travel times
  • 6.0 Update travel time estimates β†’ D3 Road Distance Matrix: Updated travel times

Boundaries

  • External entities: Order System, Driver App and Traffic and Map Provider
  • Processes: 1.0 Geocode orders, 2.0 Optimise routes (VRP solver), 3.0 Publish routes, 4.0 Track deliveries live, 5.0 Re-optimise during the day and 6.0 Update travel time estimates
  • Data stores: D1 Vehicles, Capacities and Shifts, D2 Depots and Time Windows and D3 Road Distance Matrix

Make your own diagram like this

Describe your own system in plain English and CloudSketch AI draws it in seconds. See all AI diagram generators.

Related templates

SequenceLogistics & Supply Chain

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.

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.

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.