A real-time data platform for freight
Freshtrack lets exporters book and follow shipments by sea, road and air. I designed and run its data and AI: six production systems on one platform, from raw feeds to risk alerts.
Six production systems on one platform. Pick one to trace its data path, or hover any component to see what it does.
Maritime track & trace. Carrier APIs and AIS feeds merged into one container timeline; impossible or stale events are rejected before they reach a customer.
11-stage chronology guard14 alert typesETA/ETD risk · demurrage
Truck IoT & cold chain. GPS and sensor readings become port milestones, door-opening alerts and cold-chain risks, with ETAs from historical route segments.
12 geofenced zonesrisk predicted at 16 h3 IoT providers
Email-to-API bookings. Partners without an API book by email; each request, confirmation or cancellation becomes validated DCSA JSON in the platform.
request · confirm · cancelDCSA JSONevery step traced
Document AI. Invoices and shipping documents read by OCR and an LLM, validated, linked to their order, and flagged when they disagree.
self-hosted OCRLLM extractionmismatch alerts
Carrier data provider. Schedules, tariffs, tracking and vessel positions collected from 24 carriers that have no API, normalised to DCSA and cached.
24 carriers300 users in ~5 s (warm)DCSA API Case study →
Analytics & AI. A Parquet lakehouse on ADLS and Databricks, carrier scorecards, port-stage durations and briefings written by an LLM from the metrics.
Spark · DatabricksSupersetLLM briefings
Maritime track & trace
-
01 · Sources
Carrier APIs Maersk · CMA · MSC…AIS feeds vessel milestones -
02 · Ingest
Apache NiFi streams · retries -
03 · Process
Event unifier dedup · chronology -
04 · Store
PostgreSQL PostGIS · audit -
05 · Serve
Alerts & risks 14 alert types
Truck IoT & cold chain
-
01 · Sources
IoT trackers GPS · temp · light -
02 · Ingest
Apache NiFi streams · retries -
03 · Process
Geofencing zones · cold chain -
04 · Store
PostgreSQL PostGIS · audit -
05 · Serve
Alerts & risks 14 alert types
Email-to-API bookings
-
01 · Sources
Emails & files CSV · Excel · PDF -
02 · Ingest
n8n workflows IMAP · file triggers -
03 · Process
Document AI parse · OCR · LLM -
05 · Serve
Platform APIs DCSA · booking
Document AI
-
01 · Sources
Emails & files CSV · Excel · PDF -
02 · Ingest
n8n workflows IMAP · file triggers -
03 · Process
Document AI parse · OCR · LLM -
04 · Store
PostgreSQL PostGIS · audit -
05 · Serve
Alerts & risks 14 alert types
Carrier data provider
-
01 · Sources
Carrier websites 24 carriers, no API -
02 · Ingest
Web collectors HTTP · browsers -
03 · Process
DCSA normaliser schedules · tracking -
04 · Store
Result cache 6-week windows -
05 · Serve
Platform APIs DCSA · booking
Analytics & AI
-
02 · Ingest
Apache NiFi streams · retries -
03 · Process
Lakehouse Databricks · Parquet -
04 · Store
PostgreSQL PostGIS · audit -
05 · Serve
Dashboards Superset · LLM
Observability · every run logged · failure and stuck-alert emails · end-to-end traceability