13 / 25 · Product

Saphire Intelligence AI Product Engineering

2026

Case study

Teaching a Clinic to Hear Itself

A dental tourism clinic lives or dies on phone calls. Hundreds of them a month, in several languages, made by consultants nobody has time to listen to. Saphire Intelligence ingests every call and WhatsApp thread, transcribes and translates it, analyses it, and hands back coaching — written in the margin beside the exact sentence it refers to.

224

commits in five weeks

8

roles in the reporting tree

3

model stages per conversation

5 min

HMAC replay window on ingest

The Problem

The clinic had recordings and no way to learn from them. Managers sampled a handful of calls a week, in languages they sometimes did not speak, and coached on impressions. Nobody could answer the simple questions: which objection kills the most deals, which consultant is strongest on price, what do patients actually ask before they book.

The Pipeline

Calls from the clinic's dialer and exported WhatsApp conversations flow through a transcribe, analyse, and translate pipeline — a job queue with a dedicated worker, object storage for audio behind presigned URLs, and model calls for transcription and analysis. Work is queued rather than run inline because a twenty-minute call cannot block a web request, and because a failed stage must be retryable without losing the recording.

The Saphire Intelligence pipelinecallsclinic dialerWhatsAppexported threadsingestHMAC-signedjob queueretryable stagesworkerobject storageaudio · presigned URLstranscribetranslateanalysecoaching in the marginanchored to transcript turns
The pipeline — from recording to coaching in the margin

Coaching in the Margin

The design decision that shaped the product: analysis is worthless as a summary at the top of a page. Coaching notes are anchored to the transcript turns they are about, in the margin, so a consultant reads their own words and the correction together. Team analytics and voice-of-customer patterns sit above that, but the unit of learning is one sentence in one call.

Access as a Reporting Tree

Recordings of sales conversations are sensitive in both directions — for the patient and the consultant. Access is an eight-role hierarchy scoped to the reporting tree: a manager reads exactly their subtree, nothing beside it. Ingest webhooks verify HMAC signatures over raw bytes within a five-minute replay window and fail closed when unconfigured. Malformed payloads return 400 so the dialer stops retrying the unretryable; processing failures return 500 so it retries what might succeed.

Deleting My Own Design

I designed a bespoke clinical-dossier identity for it — gold on paper, five reading faces — then ran a legibility audit against my own work and found the structural layer sitting below the visible threshold. I reset the interface to a stock component library as a floor to redesign up from, with tests that assert the stock palette's known faults so the redesign has to fix them measurably. Killing your own work on evidence is the tradeoff.

The Result

224 commits in five weeks — the most sophisticated system I have built and the fastest I have built one. It is internal software for a working clinic rather than a public product, which is exactly why it had to be right: the people it evaluates are the people who have to trust it.