Schneider Dispatch SCHNEIDER NATIONAL · Driver context → eligibility → Twilio
why Twilio for Schneider · one page ↗ loading…

Proof

my sent messages in Twilio ↗

Group

Chart guide — every group, and what it earns you

The data model — one governed brain, live from Snowflake

Pulled from DISPATCH.INFORMATION_SCHEMA. Key columns only — 🔑 primary key, ↗ foreign key. Solid lines are joins; dashed lines are the feedback loops that make it self-correcting.

The driver The freight The decision layer The closed loop

DRIVERS SF

🔑 DRIVER_ID
PHONE_E164 · EMAIL
CURRENT_TIMEZONE ← position
EQUIPMENT_TYPE

DRIVER_NOTIFICATION_PREFS SF

🔑↗ DRIVER_ID
DO_NOT_CONTACT absolute
QUIET_HOURS · MAX_MSGS_PER_DAY
BEST_CONTACT_CHANNEL

DRIVER_HOS_STATUS SF · ELD

🔑↗ DRIVER_ID
DUTY_STATUS driving?
DRIVE_HOURS_REMAINING
WINDOW_END_TS 14-h wall

LOADS SF

🔑 LOAD_ID
ORIGIN → DEST · PAY_AMOUNT
EST_DRIVE_HOURS HOS math
STATUS · PICKUP_DEADLINE_TS

LOAD_RECOMMENDATIONS SF · scoring engine

🔑 RECOMMENDATION_ID
↗ DRIVER_ID   ↗ LOAD_ID
MATCH_SCORE 0–1
COMPUTED_AT volatile — never synced

ELIGIBLE_PERFECT SF · VIEW

the nine-gate waterfall as SQL
consent · safety · legality · timing
caps · quiet hours · best-load-only

NOTIFICATION_QUEUE SF + PG twin · outbox

🔑 QUEUE_ID = sync PK
↗ RECOMMENDATION_ID · ↗ DRIVER_ID
BODY frozen at enqueue
STATUS: pending→eligible→sent

V_NOTIFICATIONS_TO_SEND_* SF+PG · VIEWS

QUEUE_ID · TO_ADDRESS · BODY
all the sync engine sees —
no volatile column can re-fire a send

DRIVER_INTERACTIONS PG→SF mirror

🔑 INTERACTION_ID · ↗ DRIVER_ID
BODY · DIRECTION
CLASSIFIED_INTENT STOP→DNC

NOTIFICATIONS_SENT PG→SF mirror

🔑 SENT_ID · ↗ QUEUE_ID
PROVIDER_MSG_SID Twilio receipt
DELIVERY_STATUS · SENT_AT

DIFF SYNC → TWILIO

diff on 🔑 QUEUE_ID · one SMS per new row
exactly once, by construction

Who's in the room

Schneider National · second meeting
P
Shaleen DevgunEVP & Chief Innovation & Technology Officer · the platform · played by Reema

Reliability, build vs. buy, exactly once. Ask: “How many systems can text a driver today?”

1
Angela FishEVP, Human Resources · Demo 1 · Recruit · played by Yi

Applicants reached before they sign elsewhere. Ask: “How long from application to first contact today?”

2
Andrea SequinVP, Safety & Driver Training · Demo 2 · Onboard · played by Tonya

New hires who show up and stay. Ask: “What does a driver who leaves in year one cost you?”

3
Steve WellsEVP, Truckload · Demo 3 · Dispatch · played by Hali

Loads covered, HOS respected, no texts while driving. Ask: “When a driver turns down a load, how long before the next driver hears?”

Why this is worth Schneider's time

A Class 8 truck sitting without a driver costs a carrier roughly $700–$1,000 a day in lost revenue. Replacing a driver who quits runs $8–15K. Schneider runs about 10,000 drivers and told investors the driver population is near a decade low. If one conversation layer seats 1% more trucks and keeps 1% more drivers a year, that is a seven-figure swing before counting a single avoided TCPA or HOS penalty.

Reach is cheap. The moment is everything.

Truck-day and replacement figures are industry ranges (ATA / ATRI); the 1% scenario is illustrative, not a forecast.

Needs attention — delivery error log synthetic sample

Every message Twilio can't deliver comes back with a code on the status callback. The warehouse stores it against the queue row, so a failed send is a row you can query, not a mystery. Below: the codes a fleet typically sees, and the action each one earns.

CodeCountWhat it meansAction
300034Handset unreachable (off, out of coverage)Retry on the next tick, up to 3; after that, fall back to the driver's second channel (email).
300053Unknown destination: number no longer in serviceFlag the driver record for phone update at next check-in; suppress until verified.
216102Recipient opted out at the carrier (STOP)Already do-not-contact in the warehouse; confirm the two locks agree. No retry.
300071Carrier filtered as spamReview the template: avoid links in the first message, keep the sender consistent, finish toll-free verification.
300341Sender not registered for US trafficComplete toll-free verification / A2P registration; route through the Messaging Service.

Where this lands: NOTIFICATIONS_SENT.DELIVERY_STATUS plus the error code, per QUEUE_ID. Frequency caps and channel fallback read it on the next decision.

Help

The waiting queue — … messages held on purpose

Every held message is a decision, not a defect. Click a reason to see the exact drivers behind it. Below: what each hold protects, and which person on the Schneider side cares about it most.

🏗️ Shaleen Devgun · EVP & CITO
“Can we trust it?”
  • A driver can never get the same text twice. Each message is written once and sent once.
  • If the data system goes down, nothing is sent. Silence, not noise.
  • Every message comes back with a receipt, and every reply comes back to the same record.
One place that texts drivers, instead of five systems that each might.
📋 Angela Fish · EVP, Human Resources
“Can we hire faster?”
  • Every applicant hears back within a minute: a text, a quick phone check, a call to screen them.
  • Orientation gets booked before a competing recruiter calls.
  • Every answer is saved to the driver’s record from day one.
More seated trucks, in a market where drivers are scarce.
🚚 Steve Wells · EVP, Truckload
“Is it safe and legal?”
  • No texts while driving. The truck’s logging device says “driving”, the phone stays silent.
  • Drivers are only offered loads they can legally haul in their remaining hours.
  • Opted-out drivers are never contacted. No exceptions.
Fewer violations (up to ~$16K each), lower insurance risk, loads accepted sooner.
🎓 Andrea Sequin · VP, Safety & Driver Training
“Will drivers show up, and stay?”
  • Orientation confirmed by text, paperwork signed by link before Monday, truck assigned before they arrive.
  • After that: fewer, better messages. One good load, not nine.
  • Reply STOP and the texts stop within a minute.
Fewer no-shows. Drivers who don’t feel spammed stay, and each one kept saves five figures.

Message and reply figures are modeled on the prototype. Penalty figures are from federal trucking and texting rules.

Schneider Dispatch — presenter guide

What this dashboard is

A single screen showing the whole driver-notification pipeline: driver context (Snowflake warehouse + Postgres for realtime events) decides who should be told about which load through nine eligibility gates, a differential sync detects exactly what's new, and Twilio Programmable Messaging (toll-free / WhatsApp) and SendGrid turn each new row into a delivered message. Replies and delivery receipts come back on Twilio webhooks. Everything on screen is live data.

The scene: second meeting with Schneider National. You are AE + SE. Personas: Reema (VP Engineering) plays Shaleen Devgun, EVP & CITO (the platform); Yi plays Angela Fish, EVP HR (Recruit demo); Tonya plays Andrea Sequin, VP Safety (Onboard demo); Hali plays Steve Wells, EVP Truckload (Dispatch demo). Edit personas.json to change any of this everywhere. Five demo moments, ~11 minutes; never cut Next steps.

Reading the flow chart

Red bands = compliance & safety suppressions (do-not-contact, no consent, driving, HOS-illegal). Amber = held, on purpose (quiet hours, waiting for a meal window, frequency caps, the trial gate). Green = flowing toward delivery. Click any band or node to see the actual drivers there and why. Click again to clear.

The buttons

Q & A you may get

"You said exactly once. Prove it."
The sync diffs on a stable primary key (QUEUE_ID) and the message body is frozen at enqueue — a row can never look "changed", so it syncs exactly once. Prove it live: trigger a sync twice; the second run shows 0 added. Then open the Twilio SMS log as the receipt.
"What happens when the warehouse is down?"
Nothing is sent, by design: no eligibility, no send. Realtime events ride the Postgres twin so geofence and STOP still work. Status callbacks queue at Twilio and replay. A send you can't prove eligible is a send you don't want.
"A driver replies with a sentence, not STOP or YES."
Today: keyword classification; anything unknown lands on a dispatcher queue with the thread attached. Next: intent classification on the reply, and a voice callback for the ones that need a human (see the Voice tab).
"Why toll-free and not 10DLC?"
Toll-free verification is one process with the carrier aggregator (days, not weeks), no per-campaign registration, higher default throughput than an unregistered long code. 10DLC is right for a brand running many marketing campaigns off local numbers; a transactional driver-operations workflow is the textbook toll-free case. Until verification lands, nothing unverified can reach a US handset — which is why this demo's live proof uses the WhatsApp sender.
"Isn't 57% fewer messages just fewer loads filled?"
Volume drops because the best match goes once instead of nine mediocre ones — acceptance rises while sends fall. The pilot measures load-acceptance time, not message count. The numbers are modeled.
Why is the biggest red band "HOS-illegal"?
Most recommendations die because the load doesn't fit the driver's remaining legal drive hours (49 CFR 395). The warehouse refuses to advertise freight a driver can't legally haul.
Why do most Twilio attempts show as refused?
By design: synthetic drivers carry Twilio test numbers, so every API call is real but delivery is refused at Twilio's gate — in a regulated channel that's the last line of defense doing its job. The Hank Delgado row carries a real address and is the one that lands.
What's the promoter task for?
Log-based CDC reacts to data changes, not the clock. "Send at 3pm" writes nothing at 3pm — so a 1-minute job physically flips due rows to eligible; that UPDATE is the event.
Realtime vs perfect-timing?
Realtime = event-born (geofence, dispatch), seconds-to-a-minute. Perfect-timing = held for the driver's meal window or an active reply session, released in 1-minute batches, best load only.

Use-case checklist (ticks saved in this browser)

Good to know

Data refreshes: chart lineage is recomputed on demand (♻); the platform tiles poll every 5 s. Recompute is atomic — viewers never see empty tables. This page: twilio.cuppy.io. Backend: systemd flow-viewer · data in Supabase VIEWER schema · runbook in deck/SCHNEIDER_RUNBOOK.md.

Where every recommendation goes

Live lineage — click any band or node to see the records behind it. Red is refused, amber is held, green is delivered.