dathonky
09/03/2025, 2:06 PMAI Evy
09/03/2025, 2:06 PMAI Evy
09/03/2025, 2:07 PMjson
{
"type": "book_appointment_cal",
"name": "book_appointment",
"description": "Book an annual check up.",
"cal_api_key": "cal_live_xxxxxxxxxxxx",
"event_type_id": 60444,
"timezone": "America/Los_Angeles"
}
Based on community discussions, common issues include [(3) ]() :
- Timezone formatting problems - Cal.com doesn't auto-detect from area code and requires correct timezone in the booking payload
- Phone format must be international (e.g. +15551234567)
- Missing or invalid eventId or required fields in the request
For your prompt, include explicit instructions about when to invoke the function [(1) ]() :
When user selected a slot, please book the appointment by calling the `book_appointment` function.AI Evy
09/03/2025, 2:07 PMAI Evy
09/03/2025, 2:07 PMdathonky
09/03/2025, 2:20 PMAI Evy
09/03/2025, 2:20 PMAI Evy
09/03/2025, 2:20 PMemail_validation_error and error_required_field for location.
To properly configure the Cal.com booking function in Retell AI, you need to ensure your tool description is clear about what data to collect [(1) ]() . The documentation shows this example configuration:
json
{
"type": "book_appointment_cal",
"name": "book_appointment",
"description": "Book an annual check up.",
"cal_api_key": "cal_live_xxxxxxxxxxxx",
"event_type_id": 60444,
"timezone": "America/Los_Angeles"
}
[(2) ]()
For your prompt, you should explicitly instruct the agent to collect all required information before booking [(1) ]() :
When user selected a slot, please book the appointment by calling the `book_appointment` function.AI Evy
09/03/2025, 2:20 PMusernameList with the correct host(s) to the booking request, double-checking time format & timezone, and testing with a simple single-host event first .
To address your specific errors, you should:
1. Update your agent prompt to explicitly collect and validate email addresses
2. Ensure your Cal.com event type has the correct required fields configured
3. Make sure your agent collects any location/address information if required by your Cal.com event type
4. Verify the timezone format matches what Cal.com expects
The key is making your tool description and agent prompt very specific about collecting all the required fields that your Cal.com event type needs.AI Evy
09/03/2025, 2:20 PMAI Evy
09/03/2025, 2:20 PMdathonky
09/03/2025, 3:12 PMAI Evy
09/03/2025, 3:12 PMAI Evy
09/03/2025, 3:12 PMjson
{
"type": "book_appointment_cal",
"name": "book_appointment",
"description": "Book an annual check up.",
"cal_api_key": "cal_live_xxxxxxxxxxxx",
"event_type_id": 60444,
"timezone": "America/Los_Angeles"
}
The video tutorial shows the complete process for using Cal.com custom fields with Retell AI [(2) ]() . In the tutorial, the agent successfully collects the customer's name, email address, and phone number before booking the appointment .
For your agent prompt, you need to be very specific about collecting all required information. The documentation shows this example where the agent collects information step by step :
1. First collect the customer's name
2. Then collect their email address
3. Then collect their phone number
4. Finally book the appointment with all the collected information
The key is ensuring your agent's prompt explicitly instructs it to collect all the required fields that your specific Cal.com event type needs before attempting to book the appointment. Make sure your Cal.com event type configuration matches what your agent is trying to submit.
If you're still having data formatting issues, I'd recommend visiting [Contact Sales]() or [) for more specific troubleshooting help.
Would you like a general answer based on my knowledge instead?AI Evy
09/03/2025, 3:12 PMAI Evy
09/03/2025, 3:12 PM