$50 free credit for new accounts - ends in

Claim $50

Feature Use Case

Using custom actions to improve patient self scheduling chat

Using custom actions to improve patient self scheduling chat — answered from your own docs. How Private Clinics teams use Chatref (custom actions, custom action

Chatref Team6 min read / Updated June 15, 2026

Getting an appointment scheduled is the single most valuable interaction a patient can have with a clinic website - yet most chatbot setups stall as soon as the patient says "I'd like to book." They capture a name and promise a callback, but the work still lands on the front desk. With Chatref custom actions, you can move from capturing leads to capturing complete appointment requests directly in the chat, giving patients a real answer and your team a structured request ready to slot in.

The use case

Private clinics invest in patient self-scheduling to cut the daily call volume around booking, rescheduling, and availability checks. The common failure happens right at the moment a patient types "I need to see Dr. Chen on Thursday": the chatbot can answer general questions about hours and services, but it cannot ask for the right details, format them, and hand them off to the scheduler in a way that moves the booking forward. The result is a phone tag loop that frustrates patients and wastes front-desk hours.

Custom actions solve this by allowing your chat agent to recognise a scheduling intent and then conduct a short, guided conversation that collects exactly the information your clinic needs - name, preferred provider, date and time window, reason for the visit, insurance carrier, new vs. existing patient - and either submits it directly to your booking workflow (via a webhook to your EHR or practice management system) or saves it as a structured lead your team can handle in one touch. For Private Clinics running thin on front-desk bandwidth, this turns the chatbot from a deflection tool into an actual scheduling assistant.

How it works

When a patient messages your chat widget with a scheduling-related phrase, Chatref's AI agent recognises the intent from your conversation history and the prompt you configured. Instead of giving a generic reply, it activates a custom action you defined. The action prompts the patient step by step for the booking details - you decide which fields matter, such as preferred day, time range, or whether it is a follow-up or a new concern.

Behind the scenes, custom actions can do two things. If you connect a webhook (e.g., to your EHR's appointment API or a calendar link), Chatref can attempt to book the slot and return a confirmation to the patient right in the chat. If a direct booking is not possible (after-hours, no available slot, or your system requires manual review), the action falls back to lead capture - recording all the details as a structured inquiry in Chatref so your team can reach out in the morning with a ready-made appointment request instead of a "someone called" sticky note. This means every scheduling chat either books the patient outright or delivers a warm lead the front desk can resolve with a single call or message.

The mental model: write a short prompt that tells Chatref what to ask for, map those answers to slots, and decide where the finished request lands. No code is required - you build the conversation flow in the Chatref dashboard and test it live on your staging site before swapping the widget onto the real clinic pages.

Set it up

  1. Open your agent in the Chatref dashboard and go to the Custom Actions section. Create a new action called "Schedule appointment" or similar.
  2. Define the triggering prompt. This is the natural-language description of what the patient seems to want. Example: "Patient mentions booking, scheduling, making an appointment, or asking about specific provider availability."
  3. Add the information slots you need. For a private clinic, a good minimal set:
    • Full name (required)
    • Phone number or email for confirmation (required)
    • Preferred provider (if multiple)
    • Preferred day and time window (e.g., "Thursday morning")
    • Reason for visit (new concern, follow-up, annual exam)
    • Insurance carrier (optional, but helps pre-verify) Mark the ones that are required.
  4. Choose the action type. For a direct booking attempt, enter your practice's scheduling webhook URL and map the slot values to the API parameters your system expects. If you do not have a live booking API, set the action to "Lead capture" - Chatref will save the conversation with the patient's details as a structured lead in your dashboard.
  5. Write a polite closing message the agent will show after collecting the details, such as "I have all the information I need. Our team will confirm your appointment within one business day." If you use a webhook that returns a real confirmation code, you can insert that here.
  6. Test in the live playground. Act like a patient typing "I want to book an appointment with Dr. Kim next Tuesday." Walk through the full flow until the lead is captured or the webhook fires. Check that required fields actually stop the flow if skipped, and that the final message reassures the patient their request was received.

What you need beforehand: Your agent should already be trained on your clinic's hours, provider names, and scheduling policies (the PDFs and pages you added to the Knowledge Base). That way, when a patient asks "What times does Dr. Kim have next Tuesday?" the agent can answer from your public schedule before the custom action kicks in.

Get more from it

Combine with lead capture for after-hours. Most private clinics stop answering phones at 5pm, but patients often search for availability late in the evening. Set your Chatref agent to run 24/7 with the custom action always active. After-hours scheduling requests become time-stamped leads your front desk processes first thing in the morning - no more lost appointments because someone didn't call back fast enough.

Tailor the flow to provider availability. You can create multiple custom actions: one for a specific provider, one for "any available," and one for urgent same-day requests. The Chatref agent decides which action to use based on what the patient says, so a new patient asking "I need to see a dentist tomorrow" can be routed differently from a returning patient scheduling a routine cleaning.

Fallback gracefully. If your webhook returns an error (no slot, system timeout), configure the action to fall back to lead capture automatically rather than leaving the patient with a broken experience. This keeps the interaction positive and ensures no request is dropped.

Keep the conversation human. Even though the action collects structured data, the prompts should sound like a front-desk coordinator: "Which doctor would you like to see?" not "Select provider from list." Write the slot prompts in your clinic's voice and test them with a few real patients to refine the wording.

Use analytics to spot scheduling patterns. Over time, the conversation tags and insights in Chatref will show you the most common scheduling questions (e.g., patients asking about Saturday hours or a specific provider). You can then add that information directly into your Knowledge Base so the agent answers it before the custom action even fires, shortening the booking flow.

FAQ

What causes patient self scheduling chat problems for Private Clinics? Most self-scheduling problems come from a mismatch between what patients need (a specific date, time, and provider) and what a basic chatbot can deliver (a simple FAQ answer). Without a guided data-capture step, the chat cannot collect appointment details or trigger a booking, so it falls back to asking the patient to call the office during business hours - which defeats the purpose of self-scheduling.

How do I improve patient self scheduling chat for Private Clinics? Switch from a deflection bot to a tool-calling agent. Using Chatref's custom actions, you can define a short conversation flow that asks for name, provider preference, day/time, and reason, then either books the slot via a webhook or saves the lead for your team to confirm. This turns the chat into a genuine scheduling endpoint that works around the clock, not just a link to your online booking page.

Put this into practice

Chatref answers your customers from your own content, day and night. Add it to your site and go live in minutes – free to start.

Get started