https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hello Retell Support, my Cal
# ❓・ai-evy-support
h
@AI Evy Hello Retell Support, my Cal.com API has stopped working with Retell. It was functioning properly earlier but is now showing errors. We also reset the Cal.com API and reconnected it, but the bot is still booking demos in different time zones and on incorrect dates, even after providing the proper time zones and variables. Could you please help me resolve this issue? Thank you.
a
Thanks for tagging me @harsh_21126. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Update Retell LLM](https://docs.retellai.com/api-references/update-retell-llm) [[2] Check Calendar Availability](https://docs.retellai.com/build/check-availability) [[3] AI Appointment Scheduling with Voice AI Booking Assistant](https://www.retellai.com/features/book-appointments) [[4] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[5] Cal.com Appointments](https://discord.com/channels/1186424376300679209/1358842036635173104) [[6] Cal.com booking errors](https://discord.com/channels/1186424376300679209/1377380250954105064) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer Your issue may be related to either the handling of dynamic variables or the setup of the Cal.com integration in your Retell AI agent. Here are some key checks and steps based on the documentation: 1. Time Zone Handling: Make sure you are explicitly setting the
timezone
parameter when configuring your appointment booking and calendar availability functions. Both the Cal.com event and the Retell agent should have matching timezone settings to avoid mismatches [(1) ]() [(2) ]() [(3) ]() . 2. Dynamic Variables: All dynamic variables passed to the agent (such as time zone, user information, etc.) must be strings and properly defined. If a variable is missing or not set, Retell will leave the placeholder unresolved, which can cause issues in the booking logic [(4) ]() [(5) ]() . 3. Function Setup: When integrating with Cal.com, ensure you have entered the correct API key, event type ID, and, if needed, the timezone in the function configuration. Review the setup steps to verify all required fields are present and accurate [(2) ]() [(3) ]() . 4. Prompt Logic: Update your agent prompts to reference the correct variables and explicitly describe when to call the calendar availability or booking functions. Test your prompts with both set and unset variables to ensure robust handling [(2) ]() [(4) ]() . 5. Known Issues: There are reports that misconfigured or mi
ssing variables (like custom variables for hosts) or incorrect time formats can result in booking errors or appointments being set in the wrong time zone or date [(5) ]() [(6) ]() . If after these checks the issue persists, you may want to review your function node configuration and prompt logic, or try with a simple single-host Cal.com event to isolate the problem . Check out these potentially useful sources for more detailed troubleshooting: - [Check Calendar Availability]() - [Dynamic Variables]() - [AI Appointment Scheduling with Voice AI Booking Assistant]() Would you like a general answer with best practices for debugging Cal.com and Retell AI time zone or variable issues?
Thanks for the feedback, glad I was helpful.