https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> The problem I have is that ...
# ❓・ai-evy-support
o
@AI Evy The problem I have is that the assistant I created does not send the patient's data correctly to cal.com so that cal can put it in Google Calendar, and I would have to send the name, phone number, and treatment that the patient requested by calling the assistant.
a
Thanks for tagging me @obb22t_06301. I'll look through relevant sources and get back to you shortly.
### Answer To properly send patient data to Cal.com through your Retell AI assistant, you need to configure the "Book Appointment" function correctly [(1) ]() . The function requires specific parameters to be passed when booking appointments . When setting up the book appointment function, you need to enter the following details : - Tool name (must be unique within that agent) - API Key from Cal.com - Event Type ID - Tool description - Optional timezone setting For the prompt configuration, you should include explicit instructions about when to invoke the function :
Copy code
When user selected a slot, please book the appointment by calling the `book_appointment` function.
The booking function expects the patient's name and email as required parameters [(2) ]() . However, based on community discussions, there are known issues with Cal.com integration where appointments may appear to fail in the assistant but actually get booked successfully [(3) ]() , [(2) ]() . For passing additional custom parameters like phone number and treatment type to Cal.com, this involves Cal.com's custom fields configuration [(4) ]() . You would need to define these custom parameters in your Cal.com Event Types under the Advanced section . To troubleshoot data transmission issues: 1. Verify your Cal.com API key and Event Type ID are correctly configured [(1) ]() 2. Check that your timezone settings match between Cal.com and Retell AI [(5) ]() 3. Ensure your prompt clearly instructs the agent to collect all required patient information before attempting to book [(1) ]() If you continue experiencing issues with data not being passed correctly, you might consider creating a custom function to handle the Cal.com integration with more control over the data being sent [(6) ]() .
​ To learn more, see the sources I considered: [[1] Book Calendar](https://docs.retellai.com/build/book-calendar) [[2] Cal.com Appointments](https://discord.com/channels/1186424376300679209/1358842036635173104) [[3] Discord message from @sefik5283 on 2024-12-17](https://discord.com/channels/1186424376300679209/1294891368505937952/1318612261467586570) [[4] Discord message from @chaddperry on 2025-05-28](https://discord.com/channels/1186424376300679209/1294891368505937952/1377418397385490494) [[5] Automate Scheduling with AI Appointment Booking | Retell AI](https://www.retellai.com/features/book-appointments) [[6] Retell direct to Google Calendar](https://discord.com/channels/1186424376300679209/1339876482213744661) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
o
Can I send you my prompt and you can check that it is correct? @AI Evy