https://retellai.com/?utm_source=discord&utm_medium=seo logo
whenever i try to run my cal
# ❓・ai-evy-support
t
@AI Evy whenever i try to run my cal.com function to book an appointment i say a specific time and it completely choses another time when the booking happens
a
Thanks for tagging me @taco2029. I'll look through relevant sources and get back to you shortly.
### Answer This issue may occur if the time slot selected by the user is not actually available in Cal.com at the moment the booking is attempted, or if there is a mismatch in how the time zone is handled between Retell AI and Cal.com [(1) ]() [(2) ]() . The recommended process is: - Ensure that your agent first calls the “Check Availability” function to retrieve available slots from Cal.com. - Only allow the user to select from those available slots. - When the user selects a slot, the agent should confirm the date, time, and timezone with the user before calling the “Book Appointment” function [(1) ]() [(3) ]() [(2) ]() . - Make sure the time zone settings are correctly configured on both Cal.com and the Retell AI dashboard to prevent time conversion errors [(1) ]() . If you’re already following these steps and still seeing the issue, double-check that the slot you’re attempting to book hasn’t been taken by another booking between the check and book steps, and verify that the API key, event type ID, and timezone are correctly set in your Retell AI function configuration [(2) ]() [(4) ]() [(5) ]() .
​ To learn more, see the sources I considered: [[1] Automate Scheduling with AI Appointment Booking | Retell AI](https://www.retellai.com/features/book-appointments) [[2] Book Calendar](https://docs.retellai.com/build/book-calendar) [[3] Build a multi-prompt agent](https://docs.retellai.com/build/single-multi-prompt/write-multi-prompt) [[4] calendar appointment booking through retell](https://discord.com/channels/1186424376300679209/1250814023067500657) [[5] booking appointments](https://discord.com/channels/1186424376300679209/1262476800932712529) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.