https://retellai.com/?utm_source=discord&utm_medium=seo logo
k
@AI Evy hello team. I am looking for the documentation on what the dynamic variables need to be named in the Cal.com integration. specifically I am finding that : 1. using "email" is not reliable, its not passed into the function call even though its set as a dynamic variable. is that the correct name? 2. what is the best way to pass a physical location / address to a Cal.com event. Any documentation / info would be very helpful, as would knowing if I have to make my own end point to do this. Thanks so much
a
Thanks for tagging me @kavorka.eth. I'll look through relevant sources and get back to you shortly.
### Answer [(1) ]() Based on the available sources, I can address your questions about Cal.com integration with Retell AI: 1. Email Variable Issue: Your email issue is documented in the community - other users have reported the same problem where the email variable isn't making it to the Cal.com book function, with Cal.com defaulting to "user_name@example.com" instead [(2) ]() . This appears to be a known issue with the native integration. 2. Dynamic Variables in Cal.com Integration: Dynamic variables can be used in several places including tool call descriptions and custom tool call properties descriptions [(1) ]() . However, the official documentation doesn't specify the exact variable names expected by the Cal.com integration. 3. Passing Physical Location/Address: There are documented issues with location handling in the Cal.com integration. One user reported that "the Agent passes phone number as location when the location should be Google Meet" and received 400 errors [(3) ]() . The location object is supposed to have a specific structure, but the built-in integration may not be handling custom locations properly . 4. Advanced Use Cases and Custom Functions: For advanced use cases like dynamic event type IDs or custom field handling, the recommendation is to use custom functions rather than the native integration [(4) ]() . As one support response noted: "For advanced use cases like this you can use custom functions and you will be able to send dynamic variable" . Given the limitations and issues you're experiencing,
you may need to implement a custom endpoint using custom functions for more reliable email handling and location passing. Check out these potentially useful sources: [Book Calendar]() , [Dynamic Variables]() Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Email variable not making it to Cal.com book function](https://discord.com/channels/1186424376300679209/1358927987193413853) [[3] Discord message from @clubbrb on 2024-10-18](https://discord.com/channels/1186424376300679209/1186462578310910112/1296640635390132316) [[4] cal.com Integration: Agent can specify event type id dynamically](https://discord.com/channels/1186424376300679209/1388617797491359915) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy this seems like a pretty normal request ie. booking appointments at physical locations. so someone must have worked this out before. should I ask in the community what people have been doing? I appreciate you searching through history, but sometimes those may not be the most up to date information or approach to solving something