### Answer
To integrate Retell AI with GoHighLevel calendars, you'll need to build a custom integration using N8N (or similar automation platform) and GoHighLevel's API [(1) ](
) [(2) ](
) . Here's the process:
## Setup GoHighLevel Private Integration
First, create a private integration key in GoHighLevel to allow communication between Retell AI and GHL [(2) ](
) :
1. Go to your GHL account settings
2. Navigate to Private Integrations
3. Create a new integration and name it (e.g., "Retell")
4. Select all necessary scopes, especially calendars and contacts
## Configure the Integration Flow
The integration involves several key steps [(1) ](
) [(3) ](
) [(4) ](
) :
1. **Check Calendar Availability**: Use GHL's "get free slots" API endpoint to check calendar availability [(1) ](
) . You'll need to format dates in Unix timestamp format [(1) ](
) [(3) ](
)
2. **Search/Create Contacts**: Search for existing contacts or create new ones in GHL when collecting user information [(5) ](
) [(6) ](
)
3. **Book Appointments**: Use GHL's create appointment API to book the appointment once availability is confirmed and user details are collected [(6) ](
)
## Key Technical Requirements
- You'll need to set up webhooks in N8N to handle the communication between Retell AI and GHL [(4) ](
)
- Use Retell AI's custom functions/tool calling