https://retellai.com/?utm_source=discord&utm_medium=seo logo
How to connect my agent to "cal" and create functi...
# ❓・ai-evy-support
o
@AI Evy How to connect my agent to "cal" and create functions (e.g. check availability) then use it in my workflow ?
a
Thanks for tagging me @omarkouta.. I'll look through relevant sources and get back to you shortly.
### Answer To connect your Retell AI agent to Cal.com and create functions like check availability, follow these steps: ## Step-by-Step Setup Process Step 1: Access Functions in Your Agent From the Retell AI dashboard, go to the Agents section and click on your agent [(1) ]() . In the agent settings, find the Functions section on the right panel and click the + Add button to open the available functions list . Step 2: Add Cal.com Functions Select the pre-built Cal.com functions from the list : - **Check Calendar Availability**: This enables your agent to check open time slots based on pre-scheduled intervals - **Book an Appointment**: After finding the right slot, users can schedule appointments automatically Step 3: Configure Cal.com Settings A settings window will pop up for the selected function . Fill in the necessary fields with your Cal.com credentials and configuration details . After filling in the required information, click the Save button to finalize the function setup . ## Using in Different Agent Types For Conversation Flow Agents: You can use function nodes to call Cal.com functions [(2) ]() . The function node is used to call a function, whether it's a pre-built function or a custom function . Pre-built functions include Check Calendar Availability and Book Calendar . For Single/Multi-Prompt Agents: Cal.com functions are available as pre-defined tools that include tools to check availability and book calendar [(3) ]() . These are built-in tools available to all users with configurable triggers and parameters . ## Testing Your Setup Use the Test button in the agent settings to ensure the Cal.com functions are working as expected [(1) ](htt
ps://www.retellai.com/blog/cal-coms-preset-tools) . This will verify that your agent can successfully check availability and book appointments through Cal.com. The integration allows your AI voice agents to check live availability and book appointments instantly during voice calls , improving both customer experience and operational efficiency .
​ To learn more, see the sources I considered: [[1] AI Scheduling Assistant with Cal.com | Retell AI](https://www.retellai.com/blog/cal-coms-preset-tools) [[2] Function Node Overview](https://docs.retellai.com/build/conversation-flow/function-node) [[3] Function Calling Overview](https://docs.retellai.com/build/single-multi-prompt/function-calling) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
o
@AI Evy okay but what is the prompt I should write to make the agent use these functions ?
write a prompt for a single prompt agent that works as a host for a restaurant. Make it use check calender and book appointment using cal.com functions. I want to test