How Outbound Calls Work
Annie’s outbound calls are driven by the workflows and training configured on your bot. For example, you might have a workflow for confirming appointments or a workflow for recall outreach — these define how Annie handles the conversation, what questions to ask, and how to respond. When initiating a call, you can optionally provide:- Patient info — The patient’s name and date of birth so Annie can address them correctly
- Call context — Specific details for this individual call (e.g., “Their appointment is Thursday at 2pm”)
Making an Outbound Call
To place an outbound call, make a POST request to the calls endpoint:Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
fromNumber | string | Yes | The Annie phone number to call from (must be attached to a bot with outbound: true) |
toNumber | string | Yes | The destination phone number (must be in allowed whitelist for sandbox) |
patientInfo | object | No | Patient information for the call (see below) |
context | string | No | Custom instructions or context for this specific call (max 500 characters) |
Patient Info Object
| Field | Type | Description |
|---|---|---|
firstName | string | Patient’s first name (max 100 characters) |
lastName | string | Patient’s last name (max 100 characters) |
dateOfBirth | string | Patient’s date of birth in YYYY-MM-DD format |
The
fromNumber must be a phone number attached to a bot with outbound set to true. When creating or updating your bot, set this field to enable outbound calling.Using Call Context
Thecontext field lets you provide call-specific details that supplement your bot’s workflows. Your bot’s training still drives the conversation and then context just fills in the specifics.
Example: If your bot has an appointment confirmation workflow, the context tells Annie which appointment to confirm:
- Appointment date, time, and provider details
- Reason for the call (e.g., “6-month recall” or “post-procedure follow-up”)
- Patient preferences or notes (e.g., “Prefers morning appointments”)
Response
A successful request returns a conversation ID for tracking:Tracking Call Status
Use the conversation ID to check the status and details of the call:Use Cases
Appointment Reminders
Appointment Reminders
Automatically call patients to remind them of upcoming appointments. Configure your bot’s workflow to confirm the appointment details during the call.
Recall Campaigns
Recall Campaigns
Reach out to patients who are due for their regular checkups. Annie can check availability and schedule appointments during the call.
Follow-up Calls
Follow-up Calls
Call patients after procedures to check on their recovery and answer any questions they may have.
Sandbox Limitations
Calls API Reference
See the full API reference for the calls endpoint.