Skip to content
Matt

Case studies 07 · Owner dashboard

Case study · demo project

One page where the owner sees every lead, its score, its follow-ups, and whether anything failed to sync.

Built so leads from the website, the chat, the phone and online booking stop living in four places, and so a broken sync shows up on a screen before a patient says "I never heard back".

Demo build · sample clinic · sample data only

Stack
  • html
  • javascript
  • sample data
Demo
The sample clinic's dashboard
Built in
site/dashboard/ · tools/gen-dashboard-data.mjs
Status
A working page on sample data · not connected to any system

01 / 08

The problem

Once a clinic automates its front desk, leads arrive from the website form, the chat, the phone agent and online booking. Each lands in a different place, so the owner can't see at a glance who's hot, who's had a reply and who's been missed.

Automations also fail quietly. When the CRM step times out, nobody notices until the patient asks why nobody called.

02 / 08

What it shows

One page with four parts. A row of totals: new leads, consultations booked, the average AI score and the typical time to first reply, each against the period before. A chart of leads per day by source. A table of every lead with its score and status. And a sync card with one row per connected system: the CRM, the calendar, the owner's alerts and the voice agent.

Clicking a lead opens its story: the four parts of its AI score with reasons, every follow-up step and who did it, the CRM sync log and the booking. Below is one sample lead's story, picked because something went wrong.

Lead story sample data L-1022 · web enquiry, HydraFacial · score 89, Hot
  1. 01

    Enquiry received

    → web form · scored 89 · Hot

    automation –
  2. 02

    HubSpot contact · error

    → HubSpot timeout · step marked error, reply still sent

    automation 10,000 ms
  3. 03

    AI reply shown · owner alerted on Telegram

    → the visitor still gets an answer; the owner's alert carries the lead's details

    automation –
  4. 04

    Follow-up task · skipped

    → skipped: no contact to attach it to

    automation –
  5. 05

    Contact added by hand · team replied personally

    → the team used the owner alert to fill the gap

    team –
  6. 06

    Booked · calendar event and booking note

    → HSL-4934 · no attendees, no invite sent

    automation 459 ms
Sample lead generated, not a real run Each step says whether the automation or the team did it

03 / 08

The tools

The dashboard page
Draws the totals, the chart, the lead table, the sync card, today's bookings and each lead's story
Plain HTML, CSS and JavaScript, no build step · works offline · light and dark
The sample data
40 leads over 30 days, four connected systems, today's bookings
One data file, made by a generator with a fixed seed, so it comes out the same every run
HubSpot, Google Calendar, Telegram, Retell
Named on the sync card, as the systems a live version would read
Not connected · those rows are part of the sample

04 / 08

What's real and what's sample

Real

built
  • The page: the totals, the chart and the sparklines are worked out from the leads, not typed in
  • Two leads mirror real demo runs: Dana Reyes matches the recorded lead run (case study 01), and Daniel Mercer matches the recorded phone call and its booking (case study 03)
  • The four-part AI score is the same shape the lead workflow really returns

Sample

sample
  • Everything else on the page: the leads, scores, reply times, statuses, totals and sync rows are generated
  • Every name is invented, emails are example.com, and phone numbers are masked
  • No system feeds it. The sync card says "ok" because the sample says so
The sample
40 leads over 30 days, up to Tue 24 Nov 2026: 18 from the website form, 11 from the chat, 6 by phone and 5 from online booking. That mix is generated, not a result.
Not measured
Time saved finding and sorting leads, leads that would have been missed, real reply times. None of that can come from sample data.

05 / 08

What broke, and the fix

Nothing can fail on sample data, so the problems were about trust: the samples disagreed with each other. The first dashboard showed a score breakdown the lead workflow didn't produce. Its follow-up timing didn't match the workflows. The voice lead's times differed from the voice page by a few seconds, and the linked leads still showed the made-up people from before the demos ran live.

Anyone who clicked from the call to the dashboard would have seen two different stories.

The fix
The lead workflow now returns the same four score parts the dashboard shows, and every version of the flow waits the same 2 minutes before its follow-up task. Once the lead run and the phone call were recorded, the two linked leads were rebuilt to match them, in the generator and in the data.
Worth knowing
A dashboard is the screen people screenshot and share. It has to agree with the systems it claims to summarise, even when it's a sample.

06 / 08

The limits

  1. It's a mock-up on sample data: no server, no login and no live sync.
  2. Only the Overview works. The other menu items are shown but switched off.
  3. The sync card's "Sync now" button only spins and resets its own "last sync" label; there's nothing to sync with.
  4. How a live version would get its data isn't decided: read HubSpot directly, or have the workflows write a feed.
  5. A live version would show real patient enquiries, so it would need hosting with access control first.

07 / 08

The handover

There's nothing to hand over yet: it shows how the owner's view would look and what it would watch. Making it live is a separate, small project, scoped with the clinic.

What a live version needs
A decided data source, with credentials held by the automation tool and never by the page. Hosting behind a login. The clinic's own treatments, team and lead sources in place of the sample's.
Daily owner
One named person who looks at the sync card each morning. The workflows' error alerts on Telegram still cover a run that fails outright.

08 / 08

Run the demo

Open the dashboard and click any lead to see its story. Daniel Mercer's is the recorded phone call; Dana Reyes's is the recorded lead run. Everything you see is sample data.

All case studies