^
../projects
Data Platforms// project brief

Supply-Chain Risk Data Backbone

Ford Motor Company · Near-real-time data backbone on GCP

~$250M

Programme savings

Credited to the programme; I built its data backbone

15 min

Data freshness

Near real time on batch tooling

~15

API feeds → tables

Nested JSON: GPS, parts, suppliers, events

~40 TB

Source data

Thousands of suppliers worldwide

// problem

Supplier-risk data sat behind an API with no change feed, and the business needed it now.

// solution

A custom ingestion framework that behaves like streaming on batch tooling.

// result

15-minute freshness behind a programme credited with ~$250M.

before

  • Supplier-risk signals scattered across sources
  • Upstream API with no CDC or change feed
  • Standard batch templates too slow for the business
  • Each new API source built from scratch

after

  • ~15 feeds land every 15 minutes
  • Global events joined to suppliers and parts
  • Impacted suppliers flagged with backup options
  • Teammates reuse my template for new API sources

// how it works

01 api feeds — ~15 endpoints: suppliers, parts, GPS, global events
  1. API Feeds: ~15 endpoints: suppliers, parts, GPS, global events
  2. Poll & Land: Airflow pulls every 15 minutes; no upstream CDC
  3. Flatten: Nested JSON schemas flattened with Dataproc / Dataflow
  4. BigQuery: Supplier, part and event tables, near real time
  5. Risk App: Programme UI maps events to impacted suppliers
  6. Alerts: Tier 1–3 suppliers flagged with backup sourcing options

Tech stack

Data

AirflowDataprocDataflowBigQueryPub/Sub

Platform & delivery

GCP

Languages

Python

// key engineering challenges

01Streaming behaviour from a batch API

The upstream API had no CDC or change feed, but the business needed changes almost instantly. I built the pipeline to poll and land every 15 minutes, so it behaves like a streaming source on batch tooling, at batch cost.

02Deeply nested, fast-changing schemas

Supplier, parts, GPS and event payloads were heavily nested and changed often. The ingestion had to flatten them reliably into ~15 BigQuery tables without breaking downstream consumers.

03A moving target from the business

Requirements kept changing during build — manual delivery took about four months of back-and-forth. The custom template I built from it is now reused by teammates for new API sources.

>read the full write-up

the problem

When something disrupts the world — an earthquake in Japan, new tariffs, political unrest, extreme weather — Ford needs to know within minutes which of its suppliers are affected, across tier 1, 2 and 3, and what the backup options are. The data to answer that came from an external API with around 15 endpoints of deeply nested data: suppliers, parts, GPS locations, and a constant stream of global events, often hundreds an hour. The API had no change-data-capture, yet the business needed the data almost instantly.

the solution

I built the programme's data backbone on GCP. Airflow polls every endpoint every 15 minutes and lands the payloads; Dataproc and Dataflow flatten the nested schemas into around 15 BigQuery tables. The result behaves like a streaming source on batch tooling, at batch cost. The programme's application joins those tables to show, in an easy UI, every impacted supplier with secondary sourcing options and expected waste.

The programme was credited with ~$250M in savings. The ingestion framework I wrote for it is now the template teammates use for new API sources.

Building something similar?

Happy to talk through the architecture or how it could apply to your team.