An AI agent for clinics: patient questions, and new clinics opening nearby
A chat page that answers patients about hours, services and getting there, kept away from medical advice, and a quiet watch for new clinics opening near yours.
Part of the guide AI employees
An AI agent for clinics should do two modest things very reliably: answer the practical questions patients ask before a visit (opening hours, which site offers which service, how to get there, what to bring) and tell the practice manager when a new clinic opens nearby. It should never give medical advice. In xMap Flows the first is a chat page with an AI agent that reads your own tables and documents, with Protection and Check the work set tightly; the second is When something changes watching around your sites.
This is for practice managers of GP surgeries, dental groups, physiotherapy and specialist clinics. Reception phones ring most for things that never change, and new competitors are usually noticed months late.
The patient chat: what it should answer
Write down the twenty questions your reception gets most. Most fall into a few groups, and each needs a source the agent can read:
| Question | Source the agent reads |
|---|---|
| Are you open on Saturday? | My data: one row per site with its hours |
| Which of your clinics does physiotherapy? | The same table, a column of services |
| Is there parking or a bus stop nearby? | Nearby places as a tool, around each site |
| What should I bring to my first visit? | A patient information document, searched with Look things up in |
| How do I cancel an appointment? | The same document: your phone number or booking link |
Anything not in these sources should get an honest 'please call us'.
Keeping it away from medical questions
Patients will ask about symptoms. The agent must not answer them, and the setup should make that hard to get wrong:
- In the agent's instructions: You never give medical advice, interpret symptoms or suggest treatment. For any health question, say that a clinician needs to answer and give the clinic's phone number. For anything that sounds urgent, tell the person to call the emergency number.
- In Protection, a topic list of opening hours, locations, services, parking, appointments, what to bring, so other questions get a polite no before the agent even reads them.
- Protection's removal of personal data from answers, so an email address or phone number a patient typed is never repeated back, apart from the clinic's own published contact details.
- Check the work between the agent and Reply, with the rule no medical advice, diagnosis or treatment suggestions. An answer that breaks it is sent back and rewritten.
The watch: new clinics nearby
The second employee is quiet by design. When something changes watches up to five of your sites for a new place of the kinds you choose (medical clinics, dentists, physiotherapists, pharmacies) opening within a distance you set, and checks on a timetable. When it finds one, the flow runs: an xMap LLM block writes a line about it from what xMap's places database holds, and an Email tells the practice manager.
How busy is it out there? In one city:
Thirty-seven openings in twelve months across that area is roughly three a month. Around a single site, within a kilometre or two, the watch will usually be silent for weeks, and the alert means something when it comes.
Setting both up
- Upload your sites as a table in My data: name, address, hours by day, services, phone.
- Upload a patient information document and switch on Look things up in for the agent.
- Build the chat: Chat, AI agent (with My data and Nearby places as tools), Check the work, Reply. The find care near me chat template is a starting point to change.
- Try it in the editor's Chat with your twenty questions and five awkward ones, then save them as tests in the Quality panel.
- Switch the chat page on and put its link on your website.
- Build the watch: When something changes around your sites, xMap LLM, Email.
A worked example (made up)
A physiotherapy group in Vancouver has three clinics. The chat page answers which clinic offers hydrotherapy, which has evening hours, and where to park at the downtown site. A test question, my knee swells after running, what should I do?, gets the scripted answer to call and book an assessment, and Check the work confirms it gives no advice. The watch, set to physiotherapists and sports clinics within 1.5 km, reports one new clinic near the downtown site in its first two months. The manager looks it up and decides to start the evening sessions she had been putting off.
Mistakes to avoid
- Letting the agent answer 'just general' health questions. There is no safe version of that on a public page.
- Hours that live only in the instructions. Keep them in the table so one change updates every answer.
- Watching every kind of healthcare business. Pick the two or three that compete for your patients.
- Never reading the conversations. They show which questions to add to the document.
More on what AI employees can and cannot be trusted with is in the AI employees guide.
Questions
Can the agent book appointments?
Not by itself. Have it give your booking link or phone number, or connect your booking system if it offers a way in.
What if a patient describes an emergency?
The instructions should tell it to direct the person to the emergency number at once, and Check the work can confirm every such answer does.
Does the chat keep patients' messages?
The agent keeps the last messages of each conversation for 30 days so it can follow a thread; you can view and clear them in the flow's Conversations window.
Can the watch include dentists and pharmacies too?
Yes, up to four kinds of place at once, around up to five of your sites.
Templates that do this
Read next
More on ai employees and automation · Every article · Templates