Retell AI Setup
Connect FlowCaptain to Retell AI using MCP Nodes or Custom Functions.
Retell AI Setup
Retell AI supports two methods to connect with FlowCaptain: MCP Nodes (recommended) and Custom Functions.
Method 1: MCP Node (Recommended)
MCP Nodes let Retell automatically discover all FlowCaptain tools. No manual endpoint configuration needed.
- Open your Retell agent
- Add an MCP Node to your agent flow
- Set the URL to:
https://api.flowcaptain.ai/mcp
- Set the Authentication header to:
Authorization: Bearer sk_live_your_api_key
- Save — Retell will auto-discover these tools:
check_availability— Check available time slotsbook_appointment— Book an appointmentcancel_appointment— Cancel an existing appointmentreschedule_appointment— Reschedule an appointment
Method 2: Custom Function
If you prefer manual control, set up a Custom Function for each action.
Example: Check Availability
- Add a Custom Function node in your Retell agent
- Set:
- Name: checkAvailability
- URL:
https://api.flowcaptain.ai/api/v1/check-availability - Method: POST
- Headers:
Authorization: Bearer sk_live_your_api_key
- Define the parameter:
- Name:
checkAvail(type: string) - Description: "The caller's request about appointment availability"
- Name:
- Repeat for booking, cancellation, and rescheduling endpoints
Request Format
Retell sends Custom Function requests as:
{
"args": {
"checkAvail": "Do you have anything on Monday?"
}
}
FlowCaptain automatically maps args.checkAvail to the query parameter.
Tips
- MCP Nodes are simpler — one node replaces four Custom Functions
- Use the
callerIdNumberparameter to pass the caller's phone number for appointment lookup - Test your setup by asking the voice bot: "What's available next week?"