### Answer
To integrate Retell AI with GoHighLevel (GHL) and n8n for your calendar setup, you'll need to use n8n as the middleware to bridge the connection between GHL and Retell AI [(1) ](
) .
## Setting Up the Integration
Step 1: Install the Retell AI Community Node in n8n [(2) ](
)
- Open your n8n dashboard
- Go to
Settings →
Community Nodes
- Search for
Retell AI and click
Install
- Confirm the installation when prompted
Step 2: Add the Retell AI Node to Your Workflow
- In the n8n workflow editor, click the
"+" icon to add a new node
- Search for
Retell AI
- Choose the action you want to automate (e.g.,
Create a phone call)
- Paste in your Retell AI API key from your dashboard
## Integration Architecture
For your multi-calendar setup, n8n will serve as the automation platform to create workflows and bridge the connection between GHL and Retell AI [(1) ](
) . GHL functions as your CRM where your calendars are stored, while n8n handles the workflow automation between systems .
## Custom Function Approach
For more complex calendar logic based on caller states, you can set up custom functions that connect to your GHL calendars through n8n workflows [(3) ](
) . This approach allows you to:
- Process incoming requests from Retell AI
- Verify the request's authenticity by checking the X-Retell-Signature header
- Extract parameters from the request body (like caller state)
- Perform necessary operations (database queries to determine appropriate calendar)
- Return results in JSON format
The n8n integration gives you flexibility to start launching AI-powered phone call workflows without writing code [(2) ](https