- Appointment scheduling
- Patient intake collection
- Multi-step qualification processes
- Anything requiring back-and-forth conversation
Example: Creating a Workflow
Here’s how to create a basic workflow using the API:Workflow Structure
Each step has:- title — What the step is called
- description — Optional description of the step (can be
null) - instructions — Guidance for Annie on what to do
- examples — Sample phrases Annie might use
- order — The sequence of steps (starting at 0)
- action — Optional action tool to execute
- actionMetadata — Optional metadata for the action
- childSteps — Optional nested steps for branching logic
A Note on Actions
Actions allow Annie to perform tasks during a workflow step, such as searching for appointments, booking, or transferring calls. Actions integrate with your practice management system to execute real operations.TRANSFER_CALL
TRANSFER_CALL supports either a saved forwardingNumberId or inline transfer metadata. The inline form accepts name, phoneNumber, and an optional extension.
extension field is optional. It supports DTMF characters 0-9, *, #, A-D, w, and W. In templated workflows, you can also use {{variable}} placeholders for the extension.
Listing Workflows
Workflows are powerful but complex to configure from scratch. We recommend starting with templates, which give you pre-built workflows you can customize.
Workflows API
See the full API reference for workflow endpoints.