Freight & Package Delivery Logistics Platform — end-to-end flows

Reference example for the flow-diagram skill · solid blue = OUT direction · dashed green = RETURN direction · red = ID/PIN checkpoint · small arc = two lines crossing, not joining
Click a flow to see it run end to end · Esc to clear · scroll to zoom · drag to pan
100%
Core platform — booking, verification & automation Partner integration gateway Shipping document generation Shipment analytics warehouse — on-time delivery reporting Customer web & mobile app Booking Web / App shipment booking UI Carrier Partner Systems rate-quote integrations Customs & duties data feed external authority feed Booking Service shipment orchestrator Route Assignment Engine carrier / driver matching recalculates ETA mid-transit n8n workflow automation · every integration Credentials Vault & Audit Log secrets · logs every flow Pickup Verification ID/PIN checkpoint · driver scan Shipment & Tracking DB PostgreSQL — system of record Payout Batch Ready driver settlement computed Internal Ops Alerts job-failure alerts → on-call (Discord) Partner API Gateway (FastAPI) single entry — normalizes I/O Partner Rate & Customs Store MongoDB — quotes + duty lookups Document Generation Service drafts labels & customs forms Customs Data Extraction Svc pulls shipment fields for redraft Draft Document Store pending-review shipment docs Document Review Queue ops/compliance approves Ops-Safe Analytics Layer read-only · mart only Data Warehouse PostgreSQL — staging → dim/fact → mart Airflow ETL ingestion + transforms Ops Dashboard (Grafana) on-time delivery rate & metrics 1 14 2 13 3·11 assign route · re-route 4·12 driver set / ETA updated 5 10 6 9 7 ID/PIN checkpoint 8 S1 cron S2 S3 S4 C1 C2 quote returned C3 C4 C6 match rate table C7 C5 duty writeback if flagged D5 query on-time stats D6 on-time metrics back D1 DB → Airflow ingest D2 carrier & customs feeds D3 D4 M1 generate documents M2 draft returns M3 save draft M4 M5 M6 M7 approved → attach