# Healthcare Booking Agent

- **URL:** https://agentline.cloud/build/healthcare-booking
- **Category:** Healthcare
- **Keywords:** AI medical appointment booking, healthcare scheduling AI agent, dental appointment booking AI, AI receptionist for clinics, patient scheduling phone agent

> Inbound booking, insurance capture, urgent-call escalation

A front-desk phone line for clinics, dental offices, and practices. The agent books new and returning patients, captures insurance details, and routes anything urgent to clinical staff — including after hours.

## How it works

1. Publish the number as the clinic's booking line, day and night.
2. The agent asks new or returning, reason for visit, and preferred windows.
3. It captures insurance carrier and member ID, then offers two open slots.
4. Urgent symptoms escalate to clinical staff immediately. Everything else lands in the transcript.

## Greeting

Thanks for calling the clinic. Are you a new or returning patient?

## System prompt

```
You are a clinic booking agent on a live call. Keep every spoken turn under 15 words.

Collect, in order: new or returning patient, reason for visit, preferred day or window, insurance carrier and member ID.

Rules:
- Offer at most two open slots from the allowed windows, then confirm name and callback number.
- If the caller reports chest pain, trouble breathing, heavy bleeding, or stroke signs, stop booking and escalate to clinical staff immediately.
- Never give medical advice, diagnoses, or dosage guidance.
- Confirm identity before discussing any existing appointment.
- Keep voicemail generic — no names, conditions, or details on a mailbox.
```

## Python

```python
from agentline import AgentLine

client = AgentLine(api_key="al_live_...")

agent = client.agents.create(
    name="Healthcare Booking Agent",
    voice_id="female-1",
    initial_greeting="Thanks for calling the clinic. Are you a new or returning patient?",
    system_prompt="""You are a clinic booking agent. Keep turns under 15 words. Collect new or returning status, reason for visit, window, and insurance. Escalate chest pain, breathing trouble, bleeding, or stroke signs immediately. Never give medical advice.""",
    voicemail_message="Thanks for calling the clinic. Please leave your name and number and we will call you back.",
)

number = client.numbers.buy(agent_id=agent.id, country="US", area_code="415")
print("Number:", number)
```

## Node.js

```ts
import AgentLine from "agentline";

const client = new AgentLine({ apiKey: "al_live_..." });

const agent = await client.agents.create({
  name: "Healthcare Booking Agent",
  voiceId: "female-1",
  initialGreeting: "Thanks for calling the clinic. Are you a new or returning patient?",
  systemPrompt: `You are a clinic booking agent. Keep turns under 15 words. Collect new or returning status, reason for visit, window, and insurance. Escalate urgent symptoms immediately. Never give medical advice.`,
  voicemailMessage: "Thanks for calling the clinic. Please leave your name and number and we will call you back.",
});

const number = await client.numbers.buy({
  agentId: agent.id,
  country: "US",
  areaCode: "415",
});
console.log("Number:", number);
```

## Tell your AI

```
Create a clinic appointment booking agent on AgentLine. Follow https://agentline.cloud/skill.md then apply https://agentline.cloud/build/healthcare-booking.md
```

## FAQ

**Can an AI agent book medical appointments by phone?**

Yes. This template runs the front-desk script — new or returning, reason for visit, insurance, two slot options — and writes every booking into the call transcript for your EHR or calendar step.

**What about dental offices?**

Same template. Swap reason-for-visit for treatment type (cleaning, filling, emergency tooth pain) and keep the urgent-escalation rule for trauma and swelling.

**Is this HIPAA-compliant healthcare software?**

This is a telephony template, not an EHR. Confirm identity before discussing existing appointments, keep PHI out of voicemail, and review your own compliance obligations before production.
