Case study · Operations
Driver Communications Hub
One live inbox where drivers can reach dispatchers via SMS, WhatsApp, or Telegram — in their own language — with photos, PDFs, voice memos, and GPS pins all enriched by AI before they hit the timeline.
- Next.js
- Supabase Realtime
- Twilio SMS
- Twilio WhatsApp
- Telegram Bot API
- Postmark
- Telnyx
- Anthropic Claude
- Mapbox
- Vercel Blob
Channels per driver
- SMS
- Telegram
Each driver has a preferred channel; dispatchers can switch on the fly. Outbound is sent on whatever channel the driver actually answers.
Preferred language
- English
- Spanish
Inbound messages translate into the dispatcher's language; replies translate back into the driver's. Both copies kept on the timeline.
Step 1
Inbound
- SMS via Twilio webhooks
- WhatsApp Business via Twilio
- Telegram via Bot API webhook
- Email via Postmark
- Voicemail via Telnyx
- Photos · PDFs · GPS · voice
Step 2
Platform
- Next.js API routes per channel
- Tenant-scoped queries on every read
- Per-driver Realtime channel
- Vercel Blob for media
- Per-driver preferred channel
- Per-driver preferred language
Step 3
AI layer
- Inbound auto-translated to dispatcher's language
- Outbound auto-translated to driver's language
- Claude extraction on docs (BOL, POD, gate receipts)
- Auto image enhancement & corner detection
- Voice memo transcription
- Mapbox location resolution
Step 4
Dispatcher UI
- Unified timeline across every channel
- Star / mark important / read receipts
- Switch channel from any conversation
- Bulk messaging & history
- Global search across all conversations
- Details panel: orders, files, calls, emails
Standout features
Image enhancement
Brightness, contrast, sharpening, and document corner detection on every photo — driver snaps a paper, dispatcher sees a clean PDF.
Document extraction
BOL, POD, gate receipts, and freight bills parsed into structured fields by Claude, ready to attach to the right order.
Voice memos & dictation
Drivers record voice memos; dispatchers dictate replies live. Both are transcribed and translated into the matching language.
GPS pins on the timeline
Location shares from any channel land as Mapbox previews — click through to the address card, geofence, or order.
Bulk messaging
Compose once, send to a filtered driver group; replies come back into each driver's normal thread, not a separate inbox.
Global search
One search box across SMS, WhatsApp, Telegram, email, voicemail, and call recordings — every artifact is indexed.
- Channels per driver
- SMS · WA · TG
- Languages
- EN · ES
- Realtime
- Per-driver
- AI on every artifact
- On
Adapted from Velocity TMS — /chat dispatcher console.