https://retellai.com/?utm_source=discord&utm_medium=seo logo
how to intergrate google calendar and add summary
# ❓・ai-evy-support
s
@AI Evy how to intergrate google calendar and add summary
a
Thanks for tagging me @sahalshamas. I'll look through relevant sources and get back to you shortly.
### Answer To integrate Google Calendar with Retell AI, there are two main approaches documented: 1. Use Cal.com Integration: You can sync your Google Calendar with Cal.com and then connect Cal.com to your Retell AI agent. This lets your agent check availability, book appointments, and manage scheduling using Cal.com's API and event types. You’ll need to: - Set up a Cal.com account and link your Google Calendar. - Obtain your Event Type ID and API Key from Cal.com. - Add the "Check Availability" and "Book Appointments" functions to your agent, entering these credentials. - Define logic in your agent's prompts for when to check availability and book appointments [(1) ]() [(2) ]() . 2. Direct Google Calendar Integration via Custom Function: If you want to skip Cal.com, you can implement a custom function in Retell AI that interacts directly with Google Calendar’s API. This requires: - Creating a webhook or server endpoint that handles Google Calendar API calls (authentication, reading/writing events) . - Setting up a custom function in your Retell AI agent that calls your webhook URL and passes parameters as needed. - Your custom function can then create events (with a summary) or check availability by communicating with Google Calendar [(3) ]() [(4) ]() . Currently, there is no official step-by-step code sample for direct Google Calendar integration in the documentation—only guidance that you’ll need to use a middleware solution (like a server or automation platform such as n8n or Make.com) to connect Retell AI’s custom function to Google Calendar [(5) ](

▾

) [(6) ]() [(4) ]() . For adding a summary: your middleware or webhook logic should include the summary field when creating the event in Google Calendar via its API. Check out these potentially useful sources: - [Check Calendar Availability]() - [Connect AI call agent to ⁠Google Workspace]() - [Retell direct to Google Calendar]() If you need a general example of how to set up the webhook or the exact API calls for Google Calendar, let me know and I can provide a general answer not specific to Retell AI.
​ To learn more, see the sources I considered: [[1] Check Calendar Availability](https://docs.retellai.com/build/check-availability) [[2] AI Appointment Scheduling with Voice AI Booking Assistant](https://www.retellai.com/features/book-appointments) [[3] Retell direct to Google Calendar](https://discord.com/channels/1186424376300679209/1339876482213744661) [[4] Discord message from @pierre_26837 on 2024-10-16](https://discord.com/channels/1186424376300679209/1186462578310910112/1296014179278389329) [[5] Personalization with Google Sheets](

https://www.youtube.com/watch?v=A9H3a33gM2M▾

) [[6] Connect AI call agent to ⁠Google Workspace](https://www.retellai.com/integrations/google-workspace) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.