A clinic phone line does three jobs: it takes bookings, it reminds people about the appointment they made, and it chases the ones who did not turn up. All three are repetitive, time bound, and happen while your front desk is also handling the queue in front of it. This post designs an AI phone agent for each of them, and marks the line past which a human has to take over.
What a clinic agent is for, and what it is not for
Set the boundary before the design, because everything else follows from it.
The agent is a receptionist, not a clinician. It handles the logistics of an appointment: who, which service, when, and whether they have been before. It does not discuss symptoms, it does not interpret results, it does not advise on medication, and it does not decide whether somebody needs to be seen urgently. Those are clinical judgements and they belong to a person with the training to make them.
That boundary is also the right data policy. Collect what a receptionist at the front desk would ask out loud within earshot of the waiting room, and nothing more. If a caller volunteers clinical detail anyway, the agent should acknowledge it and route the call rather than record it and carry on.
Write this into the Agent Task field explicitly. All the instruction fields on an agent share a 4,000 character budget with a warning at 3,000, so spend some of it here rather than on personality.
Workflow one: the inbound booking call
The inbound call is the simplest of the three and the one that pays for itself first, because it happens at 9am on a Monday when nobody at the desk can reach the phone.
Shape the conversation with the Call Messages, not the prompt. The greeting should get straight to the branch: "Thanks for calling, would you like to book an appointment, or is this about an existing one?" The closing message should read the appointment back, because a patient who hears the doctor's name, the date and the time will correct a mistake immediately.
Everything the agent knows without asking anybody goes in a knowledge base: clinic hours, which doctors sit on which days, consultation fees, which insurers you accept, where to park, what to bring. Up to five files of 4 MB each as PDF, DOCX, TXT or MD, or pasted text. A knowledge source cannot be edited after upload, so keep the fast changing things, like a doctor's leave, out of the file and behind a tool instead.
What the booking tool has to ask
A function tool is the agent's only way to change something in your systems. It is a named action with a list of questions, pointed at a URL you control. Foan sends a POST to that URL with the collected answers and speaks whatever you return. There is an optional bearer token, no custom headers, and no choice of method. Connecting an agent to your own APIs walks through the payload.
For a booking tool, four questions do the job.
| Question | Answer key | Type | Required |
|---|---|---|---|
| Who is the appointment for? | patient_name | Text | Yes |
| Which doctor or service? | service | Choice | Yes |
| When would you like to come in? | slot | Date and time | Yes |
| Have you visited us before? | returning | Yes or no | No |
Two details matter more than they look.
The date and time question type has a default timezone setting. Set it to the clinic's timezone rather than leaving it to inference. "Tomorrow at four" from a caller who is travelling should still resolve to four o'clock at the clinic.
The caller's phone number is already sent with every tool call, so do not add a question for it. Asking a patient to read their own number back to a machine is the fastest way to lose the booking, and you already have it.
Keep the list this short deliberately. Every question is another turn of conversation and another chance to mishear something. An agent can hold at most five tools in total, which is enough for book, reschedule, cancel, check hours and one spare.
Confirm before running, and do not double book
Two behaviour settings on the tool decide whether the booking line is trustworthy.
Confirm before running is on by default. The agent reads back what it is about to do and waits for a yes. On a clinic line this is not optional politeness, it is the verification step.
Prevent duplicates is also on by default. It sends an idempotency key derived from the call and the answers, so a repeated confirmation, a caller saying yes twice, or a retry after a slow response does not create a second appointment in the same slot. Turning this off is how you end up with two patients booked at 11:15.
Set the failure message on the tool to something a patient can act on. If your booking system is down, "Sorry, something went wrong" leaves them stranded. "I cannot reach the appointment book just now, let me take your name and have the desk call you back" does not.
Reminders are the easiest of the three to prove, so create a free account and run one against tomorrow's list before you touch the inbound line. Healthcare covers the wider picture, phone agents covers the call itself, and pricing is what a few hundred reminders a week works out to.
Workflow two: reminders as a campaign
A reminder is an outbound call to a list, which is exactly what a campaign is.
You upload a contact file as CSV or XLSX. The template carries a phone number column and a participant name column, followed by a column for each custom variable your agent uses. Put the appointment date, the time and the doctor's name in those variables, so the agent says the actual appointment rather than a generic prompt to call the clinic.
Three campaign settings carry the civility of the whole thing.
The calling window is a From and To hour set on the campaign, alongside a timezone. Set it to your clinic's working hours and nothing outside them. A reminder call at 8am is not a reminder, it is a complaint.
Retry and cool down control how hard the campaign pushes at a number that does not answer. A reminder deserves one polite retry, not five.
Campaign duration bounds the whole run, so a list you loaded for next week's appointments cannot still be dialling the week after.
Setting up outbound campaigns covers the list preparation and the deliverability side that sits underneath all of this.
Workflow three: no show recovery as a follow up round
A no show list is a different job from a reminder, but the mechanism is the same one.
When a campaign finishes, Foan can create the next round on its own, with the same agent, the same number and the same calling hours. A follow up round is a child campaign, and you choose who goes into it by outcome: the people who did not answer, the ones you never got to, the ones who reached voicemail, the ones who hung up immediately, and the ones who asked you to call back.
Three groups are never called again, whatever you tick: anyone who said no, anyone who asked not to be called, and anyone who turned out to be the wrong person. That exclusion is permanent and it is not a setting you can override. On a clinic list this is the behaviour you want. A patient who has told you to stop should never hear from the system again.
You can run up to five rounds after the first one, with a wait in days between each. For no show recovery, two rounds a few days apart is usually the honest limit before you are simply pestering somebody who has decided to go elsewhere.
Handover for anything urgent
Some calls have to reach a person immediately: a patient describing something that sounds serious, a caller in distress, anyone asking for a doctor by name in an emergency, and anyone who asks for a human twice.
Handover is configured over the API rather than through a dashboard screen, so think of it as behaviour you specify rather than a button you press. What happens on the call: the agent says one connecting line, the caller waits on hold music, Foan rings the number you nominated, whoever answers hears a short spoken briefing of the conversation so far, and then joins the caller. The AI leaves at that moment.
If the person does not answer within the ring window, or the leg reaches a voicemail box, the caller hears an apology and the call ends. Nobody is left on hold music indefinitely. How a transfer to a human works covers the mechanics and what each side is billed for.
Two consequences for clinic design. First, the handover number has to be a phone a person is actually holding during clinic hours. Second, because a missed handover ends the call, an agent that escalates too eagerly will hang up on people. Define the escalation criteria narrowly and let the rest be bookings.
Where to go next
Build the inbound booking agent first and run it on your own number for a week before you point a single outbound campaign at a patient list. The transcripts from those first calls will tell you which questions your tool is missing and which facts your knowledge base does not contain.
Healthcare sets out the wider phone workflow, and outbound campaigns is the next piece once inbound is steady.
Try it on your own number
Build an agent, point a number at it and listen to the first call.