casablanco
08/22/2025, 4:08 PMAI Evy
08/22/2025, 4:08 PMAI Evy
08/22/2025, 4:09 PM1427703 is your Event Type ID)
2. Ensure your Cal.com API key is valid
3. Confirm the timezone setting matches between Cal.com and your Retell function [(2) ]()
Common Issues Based on Community Reports:
- Check that the testing user is added to the event ID in Cal.com
- Verify the timezones of Cal.com and the function are the same
- Add a current time variable in your prompt so the LLM is aware of the current time
Function Configuration:
Your book appointment function should be configured like this in your Retell LLM:
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"
}
[(3) ]()
Prompt Update:
Include explicit instructions in your prompt about when to invoke the booking function:
When user selected a slot, please book the appointment by calling the `book_appointment` function.
[(1) ]()
The order of creating functions first, then installing the Cal.com app shouldn't cause booking failures. Focus on verifying the API key, Event Type ID, timezone alignment, and ensuring your testing user has access to the event type in Cal.com.AI Evy
08/22/2025, 4:09 PMAI Evy
08/22/2025, 4:09 PMcasablanco
08/22/2025, 4:28 PMAI Evy
08/22/2025, 4:28 PMAI Evy
08/22/2025, 4:29 PMWhen user selected a slot, please book the appointment by calling the `book_appointment` function.AI Evy
08/22/2025, 4:29 PMAI Evy
08/22/2025, 4:29 PMAI Evy
08/22/2025, 4:29 PMcasablanco
08/22/2025, 5:33 PMAI Evy
08/22/2025, 5:33 PMAI Evy
08/22/2025, 5:34 PM{"error":"Error calling Cal Booking API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 400\nresponse status: 400\nresponse data: [{\"message\":\"1\",\"data\":null},\"no_available_users_found_error\"]"} .
Compare Your Workflows:
Since the template works, compare the exact configuration between your template and custom workflow, focusing on:
- Function parameters and structure
- Prompt instructions for when to trigger booking
- Dynamic variable handling
- Tool call execution order
The fact that you've confirmed first name, last name, and email are collected before booking is good, but there may be subtle differences in how your custom workflow processes or passes these parameters compared to the template.AI Evy
08/22/2025, 5:34 PMAI Evy
08/22/2025, 5:34 PM