Projects · Case study 05

MedFlow Intelligence

An AI receptionist for clinics that answers the phone, books appointments against the clinic's real calendar, and hands off to a person whenever it should — plus the dashboard that tells the clinic owner what it actually achieved.

My role
Product owner — scope, rules, metrics, sign-off
Status
Working prototype
Built with
Node.js, HTML/CSS, AI-assisted (Claude + Codex)
Data
100% synthetic — no real patients

The problem

Missed calls are missed bookings

Small clinics lose appointments when nobody can pick up — during lunch, after hours, or when the front desk is busy with a patient. AI phone agents promise to fix this, but two things worried me: an agent that "books" a slot that isn't really free, and vendor reports that claim a big "revenue recovered" number nobody can check.

So I set out to build a receptionist that is safe by design and a report that is honest by design.

What I did

Scoped it, set the rules, defined the numbers

I worked as the product owner, with AI as my design and engineering team: Claude drafted the service design and dashboards, and Codex wrote and tested the code. I made the calls on scope, budget, safety rules and how results are measured, and kept a written decision register for every one.

  • Wrote the MVP scope: admin tasks only — no diagnosis, no medical advice, no payment data.
  • Set the rule that the AI can only offer slots the calendar has confirmed, and only books after the caller says "yes" to the details read back.
  • Required a human handoff the moment a caller asks for one, or whenever the AI isn't confident.
  • Set a RM500 hard cap and a staged plan for any paid vendor testing.
  • Defined the reporting model below, so the dashboard can't overstate results.

The reporting model

Four numbers, never one inflated headline

Most tools collapse everything into "revenue recovered". MedFlow keeps four figures apart, because each one is known with a different level of certainty.

MetricWhat it meansHow sure we are
Estimated opportunityA modelled figure built from stated assumptionsAlways shown with its assumptions beside it
Booked valueConfirmed AI bookings, priced with the clinic's own service listNear real time; drops if a booking is cancelled
Attended valueBookings where the patient actually showed upDaily or weekly, depending on the clinic's system
CollectedPayment actually linked to a visitShown as "Not measured" if there's no payment data — never guessed
MedFlow clinic performance dashboard: calls answered, appointments booked, booked mapped value, transfers to human, a call-volume chart, upcoming appointments and recent calls
Clinic performance dashboard. Booked value is labelled "mapped estimate, not billing". Sample data.

How it works

Every step is checked and recorded

The interactive prototype runs a simulated call from start to finish. On the right, a live trace shows each step as it happens, so anyone can see exactly what the system did and why.

Interactive call simulation: a booking form on the left and a six-step system trace with a live event log on the right
Call simulation: details collected → availability returned → caller confirmed → calendar write → notification → outcome recorded.
The prototype rejecting a booking attempt that has no caller confirmation
The safety check in action: a booking attempted without the caller's confirmation is rejected.

Results

What the prototype proves — and what it doesn't

Proven, with 29 automated tests

  • No slot is offered unless the calendar returned it
  • No booking without explicit confirmation
  • Repeated requests don't create duplicate bookings
  • Two callers can't take the same slot
  • Audit logs leave out patient names and numbers

Not yet tested

  • A live voice provider (Vapi and Retell shortlisted)
  • A real clinic's calendar or real callers
  • Malaysian and Singaporean phone networks
  • Production security and compliance review

Skills shown

What this says about how I work

KPI & metric definitionDashboard designProduct scopingProcess mappingRisk & data governanceVendor evaluationBudget controlDirecting AI tools

Source code and full project documents are available on request.