> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autocalls.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GoHighLevel Leads Automation

> Learn how to automatically call GoHighLevel leads with AI voice agents

This tutorial shows how to set up an automation that automatically calls new leads from GoHighLevel using AI voice agents with intelligent retry logic.

<iframe width="100%" height="400" src="https://www.youtube.com/embed/PHppTRtzWcw?si=9Ic3VHwV-QeL5YER" title="Tutorial: How to call Go High Level leads with AI voice agents automatically" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

## What You'll Learn

* Creating an AI assistant with custom call variables
* Setting up GoHighLevel integration with LeadConnector
* Configuring campaigns with retry logic and goal completion
* Mapping lead data from GoHighLevel to your assistant
* Testing and deploying your automation flow

## Prerequisites

* Active GoHighLevel account
* Autocalls.ai platform access
* Phone number configured for outbound calls

## Step 1: Create Your AI Assistant

First, we need to create an AI assistant that will handle the calls to your GoHighLevel leads.

<Frame>
  <img src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/01-create-assistant.png?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=3a4c2de9b64640d9e9cb447d03aa137d" alt="Creating new AI assistant" width="1653" height="371" data-path="resources/tutorials/gohighlevel/01-create-assistant.png" />
</Frame>

1. **Navigate to Assistants page** and click on "Assistants" in the sidebar
2. **Click "New Assistant"** button to start the creation process
3. **Give it a name** - for this tutorial, we'll use "Test ghl"

<Frame>
  <img src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/02-assistant-basic-settings.png?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=520c65cf500195ece507a3db8e37b662" alt="Assistant basic settings configuration" width="1094" height="783" data-path="resources/tutorials/gohighlevel/02-assistant-basic-settings.png" />
</Frame>

4. **Select a phone number** for outbound calls
5. **Choose a voice** that fits your brand
6. **Set the timezone** for your target audience

## Step 2: Configure Call Variables

Call variables allow you to personalize each call with specific lead information from GoHighLevel.

<Frame>
  <img src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/03-call-variables-tab.png?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=213c91c44fb5232ce1a4d41f72fa4a69" alt="Navigating to Prompts and Tools tab" width="816" height="753" data-path="resources/tutorials/gohighlevel/03-call-variables-tab.png" />
</Frame>

1. **Go to the second tab** "Prompts and Tools"
2. **Locate the "Call Variables" section**

<video autoPlay muted loop playsinline src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/04-add-email-variable.mp4?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=5639743e670a45469034d3ebb46b8dc4" data-path="resources/tutorials/gohighlevel/04-add-email-variable.mp4" />

3. **Add custom variables** for your GoHighLevel leads:
   * You'll see `customer_name` with default value "John"
   * **Add `email` variable** with a default value
   * Add any additional variables like `company_name`, `address`, etc.

4. **Variables can be used in multiple ways:**
   * **In the system prompt**: "Hi `{customer_name}`"
   * **For mid-call tools**: Personalized API calls
   * **For file imports**: Bulk lead processing
   * **For automation platform**: Dynamic data mapping

## Step 3: Set Up Post-Call Variables

Post-call variables help track the success of your calls and automate follow-up actions.

<Frame>
  <img src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/05-post-call-variables.png?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=986dc13c9b782274d3753bae7c04c35b" alt="Post-call variables configuration" width="1096" height="614" data-path="resources/tutorials/gohighlevel/05-post-call-variables.png" />
</Frame>

1. **Navigate to step 3** "Post-call Variables"
2. **Review the default variables:**
   * `status` - Boolean (true/false) indicating if call objective was achieved
   * `summary` - Text summary of the call conversation

<Frame>
  <img src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/06-status-variable-explanation.png?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=95f824b748362cf55fe8b3cd8982f47c" alt="Understanding the status variable" width="1103" height="622" data-path="resources/tutorials/gohighlevel/06-status-variable-explanation.png" />
</Frame>

The `status` variable is crucial for campaign automation:

* **True**: Call objective achieved, lead marked as completed
* **False**: Call objective not met, lead will be retried

3. **Click "Create"** to finalize your assistant

## Step 4: Create Campaign with Retry Logic

Now we'll create a campaign that intelligently retries leads until the call objective is achieved.

<Frame>
  <img src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/07-create-campaign.png?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=b74e755027c19e045611ed95410bdf15" alt="Creating new campaign" width="1655" height="470" data-path="resources/tutorials/gohighlevel/07-create-campaign.png" />
</Frame>

1. **Navigate to Campaigns** page in the sidebar
2. **Click "New Campaign"** button

<video autoPlay muted loop playsinline src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/08-campaign-configuration.mp4?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=55c1df6ad126753452675a3d5edde9c5" data-path="resources/tutorials/gohighlevel/08-campaign-configuration.mp4" />

3. **Configure campaign settings:**
   * **Give your campaign a name**
   * **Select the assistant** you just created

4. **Click "Create"** to save your campaign

## Step 5: Set Up GoHighLevel Integration

Now we'll create the automation that imports leads from GoHighLevel into your campaign.

<video autoPlay muted loop playsinline src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/10-automation-platform.mp4?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=ff6ee90ea8721d7f66e23691c38349d8" data-path="resources/tutorials/gohighlevel/10-automation-platform.mp4" />

1. **Click "Automate platform"** in the sidebar
2. **Press "New Flow"** and select "From Scratch"

<video autoPlay muted loop playsinline src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/11-search-leadconnector.mp4?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=48a96d341addbe3574471c743260fad9" data-path="resources/tutorials/gohighlevel/11-search-leadconnector.mp4" />

3. **Search for "LeadConnector"** in the trigger search bar
4. **Click on LeadConnector** when it appears

<Frame>
  <img src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/12-select-new-contact-trigger.png?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=315ee64de479db2a5350fe90ead44db2" alt="Selecting new contact trigger" width="324" height="400" data-path="resources/tutorials/gohighlevel/12-select-new-contact-trigger.png" />
</Frame>

5. **Select "New Contact"** trigger
   * This will trigger for each new lead created in GoHighLevel

## Step 6: Connect Your GoHighLevel Account

<video autoPlay muted loop playsinline src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/13-create-connection.mp4?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=9e396ba57f8489dbe3fac4c2acbd0754" data-path="resources/tutorials/gohighlevel/13-create-connection.mp4" />

1. **Click "New Connection"** to link your GoHighLevel account
2. **Give the connection a name** (e.g., "My GoHighLevel Account")

<video autoPlay muted loop playsinline src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/14-oauth-authorization.mp4?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=2506c437174612b001967845b1ca0609" data-path="resources/tutorials/gohighlevel/14-oauth-authorization.mp4" />

3. **Click "Connect"** to start OAuth authorization

4. **Authorize the connection** in the popup window:
   * Scroll down and click "Next"
   * Select your desired GoHighLevel account
   * Complete the authorization process

5. **Click "Save"** to finalize the connection

## Step 7: Test the Trigger with Sample Data

Before we can configure the automation, we need sample lead data to work with.

<video autoPlay muted loop playsinline src="https://mintcdn.com/autocalls/aBu4-OmcT1qyQkgK/resources/tutorials/gohighlevel/15-create-test-contact.mp4?fit=max&auto=format&n=aBu4-OmcT1qyQkgK&q=85&s=746027c7f8728d50c371eaba608b1bcb" data-path="resources/tutorials/gohighlevel/15-create-test-contact.mp4" />

1. **Go to your GoHighLevel account**
2. **Navigate to Contacts** page
3. **Click the "+" button** to create a new contact
4. **Fill in test data:**
   * First name, last name
   * Email address
   * Phone number
5. **Click "Save"** to create the contact

<video autoPlay muted loop playsinline src="https://mintlify.s3.us-west-1.amazonaws.com/autocalls/resources/tutorials/gohighlevel/16-load-data-button.mp4" />

6. **Return to the automation platform**
7. **Click "Load Data"** to fetch the test contact
8. **Verify the contact data** appears correctly

## Step 8: Configure the Campaign Action

Now we'll set up the action that adds leads to your calling campaign.

<video autoPlay muted loop playsinline src="https://mintcdn.com/autocalls/ehX36KEpVzCQtCBE/resources/tutorials/gohighlevel/17-add-action-step.mp4?fit=max&auto=format&n=ehX36KEpVzCQtCBE&q=85&s=62bf79332cbf829809d91217503e3b3b" data-path="resources/tutorials/gohighlevel/17-add-action-step.mp4" />

1. **Click the "+" sign** to add an action step
2. **Search for your calling platform**
3. **Select "Add Lead to Campaign"** action
4. **Select the campaign** you created earlier

## Step 9: Map Lead Data to Call Variables

This is where we connect GoHighLevel lead data to your assistant's call variables.

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/autocalls/resources/tutorials/gohighlevel/19-map-phone-number.png" alt="Mapping phone number from trigger data" />
</Frame>

1. **Click on the "Phone Number" input field**
2. **Select the phone number** from the trigger data sidebar
3. **Click "Insert"** to map the field

<video autoPlay muted loop playsinline src="https://mintcdn.com/autocalls/ehX36KEpVzCQtCBE/resources/tutorials/gohighlevel/20-map-variables.mp4?fit=max&auto=format&n=ehX36KEpVzCQtCBE&q=85&s=8d407f7075439535feb6d6ee068227cc" data-path="resources/tutorials/gohighlevel/20-map-variables.mp4" />

4. **Map the call variables** you defined in your assistant:
   * **customer\_name**: Use both "first\_name" and "last\_name"
   * **email**: Map to the email field from GoHighLevel

<Frame>
  <img src="https://mintcdn.com/autocalls/ehX36KEpVzCQtCBE/resources/tutorials/gohighlevel/21-variable-mapping-complete.png?fit=max&auto=format&n=ehX36KEpVzCQtCBE&q=85&s=809a110a488325caf0e3193b1ea37b04" alt="Completed variable mapping" width="325" height="559" data-path="resources/tutorials/gohighlevel/21-variable-mapping-complete.png" />
</Frame>

5. **Add additional variables** using "Add Item" if you have more custom fields

<Tip>
  Always define variables in your assistant first, then map them in the automation. This ensures proper data flow from GoHighLevel to your calls. Learn more about [configuring call variables](/ai-assistants/settings/prompt-and-tools#call-variables).
</Tip>

## Step 10: Test and Deploy

<video autoPlay muted loop playsinline src="https://mintcdn.com/autocalls/ehX36KEpVzCQtCBE/resources/tutorials/gohighlevel/22-test-step.mp4?fit=max&auto=format&n=ehX36KEpVzCQtCBE&q=85&s=878d305e68122fef602e67e1aef7f498" data-path="resources/tutorials/gohighlevel/22-test-step.mp4" />

1. **Click "Test Step"** to verify the lead is added correctly
2. **Check the confirmation** that the customer was added

<Frame>
  <img src="https://mintcdn.com/autocalls/ehX36KEpVzCQtCBE/resources/tutorials/gohighlevel/23-verify-lead-added.png?fit=max&auto=format&n=ehX36KEpVzCQtCBE&q=85&s=5a99ebf8b68684b2f0ab478847d744e1" alt="Verifying lead in platform" width="1488" height="513" data-path="resources/tutorials/gohighlevel/23-verify-lead-added.png" />
</Frame>

3. **Navigate to the Leads page** to verify:
   * The lead appears in your platform
   * Variables are imported correctly
   * Data matches your GoHighLevel contact

<Frame>
  <img src="https://mintcdn.com/autocalls/ehX36KEpVzCQtCBE/resources/tutorials/gohighlevel/24-publish-automation.png?fit=max&auto=format&n=ehX36KEpVzCQtCBE&q=85&s=10caed55c5375853c85e81c3a145dd58" alt="Publishing the automation" width="1048" height="392" data-path="resources/tutorials/gohighlevel/24-publish-automation.png" />
</Frame>

4. **Return to automation and click "Publish"**
   * Your automation is now live
   * Every new GoHighLevel contact will be automatically added

## Step 11: Start Your Campaign

1. **Go to Campaigns page**
2. **Click the "Start" button** on your campaign
3. **Your leads will now be called automatically** based on your retry settings

## Best Practices

### Variable Management

* **Define all necessary variables** in your assistant before creating automations
* **Use descriptive variable names** that match your GoHighLevel fields
* **Test with sample data** before going live

### Campaign Configuration

* **Start with 3 retries maximum** to avoid overwhelming leads
* **Use 60-minute intervals** to allow reasonable callback timing
* **Monitor the `status` variable** to track conversion rates

### Lead Quality

* **Ensure phone numbers are in international format** (+1234567890)
* **Verify email addresses** for follow-up automations
* **Keep lead data up to date** in GoHighLevel

## Troubleshooting

### Common Issues

**Leads not being imported:**

* Check GoHighLevel connection authorization
* Verify webhook is properly configured
* Ensure new contacts have valid phone numbers

**Variables not populating:**

* Confirm variable names match between assistant and automation
* Check that GoHighLevel fields contain data
* Verify mapping in the automation step

**Calls not triggering:**

* Ensure campaign is started
* Check phone number configuration
* Verify assistant is properly configured

## Next Steps

Once your basic automation is working:

* **Set up SMS follow-ups** for unsuccessful calls
* **Create Google Sheets integration** to track qualified leads
* **Add email automation** for additional touchpoints
* **Monitor and optimize** your conversion rates

Your GoHighLevel leads will now be automatically called by your AI assistant with intelligent retry logic until your call objectives are achieved!
