Case studies 03 · Voice agent
Case study · demo project
A phone agent that checks the diary while the caller waits, and books the slot before they hang up.
Built so calls during treatments and after hours still end in a booking, the common questions get the clinic's own answers, and nobody has to play phone tag to confirm a time.
Demo build · sample clinic · invented caller
01 / 08
The problem
A clinic's phone rings while the team is mid-treatment, and nobody stops a laser session to pick up. In the evening and on Sundays it goes to voicemail, and many callers don't leave a message.
Many of the calls ask the same things: price, downtime, the patch test. When someone does want to book, the clinic calls back, the caller is busy, and the booking turns into phone tag.
02 / 08
The workflow
Retell answers the call, turns speech into text and speaks the replies. Claude Haiku runs the conversation from one prompt: the clinic's facts, the call flow and the rules. When it needs the diary, it calls a tool. Both tools post to the same n8n workflow that serves the website's booking window, so a phone booking and a web booking land in the same calendar and CRM in the same way.
The trace below is one real call, recorded on 26 Nov 2026. The caller is invented. The times on the left are from the recording; the tool times are the n8n steps' own times.
-
01
retell –
0:00 · Greeting
→ says it's the clinic's AI assistant and that the call is recorded, in the first line
-
02
claude-haiku –
0:08 · Intake
→ laser hair removal · new patient · no tanning in two weeks · name, with the surname spelled · Monday 30 Nov
-
03
n8n 798 ms
1:01 · check_availability
→ consultation, Mon 30 Nov · 19 free slots · offers 9 am, noon, 3 or 6:30 pm
-
04
claude-haiku –
1:19 · Read-back
→ treatment, practitioner, day, time and name read back · caller says "Yes, please"
-
05
n8n 889 ms
1:29 · create_booking
→ HSL-1763 · consultation, Mon 30 Nov, 3 pm, Priya Natarajan · calendar event and HubSpot contact
-
06
retell –
1:53 · end_call
→ cancellation notice given, anything else, goodbye, call ended
The caller · 0:57
Uh, is November thirtieth the available?
Recorded call, 26 Nov 2026 · word for word
The agent · 1:02
One moment, let me check the diary. Yes, Monday the 30th is open. I've got nine in the morning, noon, three, or six thirty in the evening. Which works best for you?
Holding line while check_availability runs · 798 ms in n8n
The caller · 1:16
Uh, three PM sounds good.
Recorded call · word for word
The agent · 1:19
So that's a free consultation with Priya Natarajan on Monday the 30th at three in the afternoon, for Daniel Mercer. Shall I book that?
The read-back · nothing is booked before a clear yes
03 / 08
The tools
- Retell
- The call itself: speech to text, the voice, the tool calls, the recording and the call history
- Single-prompt agent · voice Cimo, speed 1.0 · ends after 30 s of silence · 10-minute cap · free trial, web calls, no number
- Claude Haiku
- Runs the conversation and decides when to check the diary and when to book
- Claude 5.5 Haiku, picked in Retell · one prompt: clinic facts, call flow, rules · New York time and a 14-day calendar, so "Monday" becomes a date
- n8n
- Answers both tools: free times for a day, then the booking
- The booking workflow from case study 04, unchanged · tool timeouts 10 s and 15 s, no retries
- Google Calendar, HubSpot
- Where the booking lands: an event with no guests, and the contact with a booking note
- The same private demo calendar and demo CRM as the website's bookings
- The voice page
- Plays the recording with the transcript, the tool calls and the booking at their point in the call
- Plain JavaScript · a small script turns Retell's call export into the page's data, word for word
04 / 08
What's real and what's sample
Real
built- The agent in Retell, running on Claude 5.5 Haiku since 26 Nov 2026
- The call: the recording, and the transcript copied word for word, "uh"s included
- The two tool calls, which reached the live n8n workflow, and the calendar event and HubSpot contact the booking created
- The times: the call's own timestamps, Retell's latency figures, and the n8n step times
Sample
sample- The clinic, Holloway Skin & Laser, with made-up treatments, prices, practitioners and hours
- The caller: Daniel Mercer is an invented name and story, spoken by a real person
- The calendar and the HubSpot account: demo accounts that hold only test bookings
- It was a web test call in Retell's dashboard, not a phone call. The demo has no phone number
- Measured on this call
- From the caller's last word to the agent's first: 1.1 to 2.1 seconds over seven turns, 1.3 seconds typical. Retell's figures for the model's part of each reply: 0.6 to 1.6 seconds; for the voice, under 0.1 seconds. Checking the diary took 798 ms in n8n and booking took 889 ms.
- Cost
- Retell lists $0.073 a minute for this model and voice, so a call this long comes to about 14 cents. That's worked out from the listed rate, not read from a bill; the demo runs on Retell's free trial credit.
- Not measured yet
- What it would change for a clinic: calls answered that would have gone to voicemail, how many callers book, and the cost per month. One recorded call shows that it works, not how well it does at volume.
05 / 08
What broke, and the fix
The agent's clock came set to Los Angeles time. The prompt works in New York time and turns "Monday" into a date from Retell's clock, so the setting was moved to New York before any test call. Retell's dashboard also had no control for temperature or for the small "mm-hm" sounds the files ask for, so both stay at Retell's defaults.
The call shows one miss. The prompt asks the agent to mention the patch test for any laser treatment. In this call it asked about tanning, then moved on without mentioning the patch test. The booking is still right: a free consultation, where the patch test would be arranged. The prompt hasn't been changed yet.
The voice page had a problem of its own. Cloudflare Pages sends the whole recording for every request, even when the browser asks for only a part, so skipping ahead in the call didn't work.
- The fix
- The page now loads the recording once, on the first play, and seeks inside that copy. The recording was cut to 16 kHz, from 5.4 MB to 3.6 MB, which is still clear for speech.
- Worth knowing
- Listen to whole calls, not only the bookings. A missed line like the patch test doesn't fail any step, so only a person listening will catch it.
06 / 08
The limits
- It's a proof of concept. Only test calls have gone through it, all in Retell's browser test, with no phone number.
- One prompt, English only, and no knowledge base beyond the clinic facts in the prompt.
- It can't move or cancel a booking, and it can't put a caller through to a person. Asked for a person, it takes a message.
- Messages stay in Retell's call history. Nothing sends them on to the team, so someone has to read them.
- It books into one calendar for all practitioners, with the booking workflow's limits (see case study 04).
- The workflow doesn't check Retell's request signature, so anyone with the address could create events in the demo calendar. That's why the demo has its own calendar.
- Calls are recorded and transcribed by Retell.
- The reply delays on the voice page come from Retell's figures matched to the turns in order. They're close, not exact.
07 / 08
The handover
A clinic's team gets the agent's prompt and tool settings to enter in their own Retell account, a guide to set it up in about ten minutes, a test-call script, and how to run it day to day. It books through the same workflow as their website, so there's one diary and one CRM to watch.
What the client gets
- SOP Setup, the daily and weekly checks, what to change and known limits demos/voice-agent/SOP.md
- Runbook Booking workflow down: the agent says it can't see the diary and takes a message, and the error alert reaches the owner. A poor conversation fails nothing, so the weekly listen is the check SOP.md · How your team takes it over
- Walkthrough video A call from greeting to booking, then the event in the calendar and the contact in the CRM Script written, not recorded yet
- Agent files The prompt, the two tools with their parameters, Retell's agent settings, and the script that turns a recorded call into the voice page prompt.md · tools.md · retell-llm.json · convert-call.mjs
- Accounts they need
- Retell (pay as you go), the booking workflow from case study 04 running in their n8n with Google Calendar and HubSpot, and a phone number in Retell, or their own number forwarded to it after hours.
- What they'd change
- The clinic facts in the prompt, with opening hours changed in the prompt and the booking workflow together; the greeting, keeping "AI assistant" and "this call is recorded"; the voice, after a test call; treatments and practitioners, in the prompt and the workflow.
- Weekly owner
- One named person on the clinic's team, agreed at handover. Each morning: the calendar for overnight bookings. Twice a day: messages in Retell's call history. Each week, about 15 minutes: two or three calls heard end to end, Retell's usage page, and the n8n run list.
08 / 08
Run the demo
Play the recorded call: the transcript, the two tool calls and the booking appear at their point in the call, and you can skip to any moment. There's no number to ring; the call was made in Retell's test window.