# HighLevel

> Connect ClearTalk and HighLevel both directions — call results into HighLevel workflows, and HighLevel leads triggering calls and texts.

Source: https://docs.cleartalk.ai/docs/integrations/gohighlevel

HighLevel — also known as GoHighLevel or GHL — pairs with ClearTalk in several ways. The webhook recipes work on any HighLevel plan that includes the relevant workflow features; call logging, calendar booking and the agent's HighLevel tools use the native connection.

<Summary
  items={[
  "Push every call result into a HighLevel workflow to update contacts and move opportunities.",
  "Trigger a call or text the moment a new lead lands in HighLevel.",
  "Let your agent book straight into a HighLevel calendar — no webhook mapping needed.",
  "Sync opt-outs so HighLevel's do-not-disturb stays current automatically.",
  "With the native connection, every call lands on the contact — and your agent can tag, note and move opportunities mid-call.",
]}
/>

<Exchange
  caption="The two webhook recipes. They're independent — set up either, or both."
  lanes={[
  {
    from: "HighLevel",
    to: "ClearTalk",
    steps: [
      "A new lead lands in HighLevel.",
      "A workflow posts the lead's details to your campaign's trigger address.",
      "ClearTalk creates or updates the contact and the agent calls or texts within seconds.",
    ],
  },
  {
    from: "ClearTalk",
    to: "HighLevel",
    steps: [
      "The conversation ends and the AI writes up the result.",
      "ClearTalk posts it to a workflow you've pointed it at.",
      "The workflow updates the contact, adds the notes, and moves the opportunity.",
    ],
  },
]}
/>

<Callout title="Native connection">
  For call logging, calendar booking and the agent's HighLevel tools, first connect HighLevel under **Integrations → CRM** in your ClearTalk dashboard — click Connect on the HighLevel tile and sign in. The webhook recipes below don't require the native connection.
</Callout>

## 1. Send call results into HighLevel

After every call, ClearTalk can post the result — caller, outcome, AI notes, transcript, recording link — to a HighLevel workflow.

<Steps>
  <Step>
    ### Create the receiving workflow in HighLevel

    In HighLevel: Automation → Workflows → new workflow → choose the **Inbound Webhook** trigger. HighLevel shows a unique URL — copy it. (The Inbound Webhook trigger is a premium workflow feature on HighLevel; check that your plan includes it.)
  </Step>

  <Step>
    ### Point ClearTalk at it

    In ClearTalk: **Integrations → Send data to your system**. Add a destination with the HighLevel URL and subscribe it to call completions (an empty event selection means all events).
  </Step>

  <Step>
    ### Place one real call to map from

    Make a short call through your agent, then open the workflow's trigger in HighLevel — it now has a real sample payload to map fields from.

    <Callout type="warn" title="Map from a real call, not the test button">
      The **Send test data** button in ClearTalk sends a synthetic payload whose field names differ from a real call result. A HighLevel mapping built on the test sample will not match live traffic. Use a real call.
    </Callout>
  </Step>

  <Step>
    ### Map the fields and add actions

    Typical mapping:

    | ClearTalk field                                                  | Use in HighLevel                                 |
    | ---------------------------------------------------------------- | ------------------------------------------------ |
    | `to` / `from` (with `inbound` telling you which is the customer) | Find or create the contact                       |
    | `ai_analysis.call_outcome`                                       | If/Else branch → move pipeline stage, apply tags |
    | `ai_analysis.call_notes`                                         | Add a note on the contact                        |
    | `ai_analysis.appointment_date_time`                              | Create or verify the appointment                 |
    | `concatenated_transcript`                                        | The note body for reps to skim                   |
    | `recording_url`                                                  | A custom field linking to the audio              |

    Then publish the workflow, place one more call, and watch the chain run.
  </Step>
</Steps>

Full field documentation, delivery signing, and retry behavior: see the [webhook reference](/docs/integrations/webhooks). Two things to know up front: payload encryption must be **off** for HighLevel to read the data, and a delivery HighLevel rejects is not retried automatically (use Webhook Logs in your dashboard to inspect and resend).

## 2. Trigger a ClearTalk call when a lead arrives in HighLevel

The reverse direction: new lead in HighLevel → a workflow posts the lead to ClearTalk → your agent calls them within seconds.

Every calling campaign's edit page has a **Trigger Instructions** panel showing its exact URL and a copyable example — the shape is:

```bash
curl -X POST "https://backboard.cleartalk.ai/api/public/calls/trigger/YOUR_CAMPAIGN_ID" \
  -H "X-API-Key: ct_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "+15551234567",
    "first_name": "Jamie",
    "last_name": "Rivera",
    "email": "jamie@example.com",
    "custom_fields": { "property_address": "12 Oak Lane" }
  }'
```

In HighLevel, add a **Webhook** action to your new-lead workflow with that URL, method POST, the `X-API-Key` header, and the lead's fields in the body — mapping HighLevel's own merge fields (`{{contact.phone}}`, `{{contact.first_name}}`, and any custom field on the contact) into the matching keys.

**Only `phone` is required.** Everything else is optional, and everything else makes the call better.

Whatever you send arrives as a variable the agent can use by name — no mapping step on the ClearTalk side, nothing to configure first. Post `property_address` in `custom_fields` and your agent's instructions can say:

> You're calling `{{first_name}}` about the property at `{{property_address}}`.

Each field is offered in both `snake_case` and `camelCase`, so HighLevel's spelling doesn't have to match yours. Full details, including what happens to a misspelled variable: [using what you sent](/docs/campaigns/triggering#using-what-you-sent).

<Callout title="Matching custom_fields to the field picker">
  Once HighLevel is connected, the agent and campaign forms' **Variables** button lists your location's contact fields — standard ones under *From your CRM*, everything else under *Custom fields*. This only works one direction: ClearTalk reads the field's **name**, not its value, so it can show you what to call it. Sending the value is still your workflow's job.

  **Two places a value can travel.** Nested under `custom_fields`, as shown above, or as a plain top-level key alongside `phone`. Any top-level key ClearTalk doesn't already use for something else is collected as a custom field, so a HighLevel webhook that posts the contact record flat works without reshaping it first. The names already spoken for are `phone`, `first_name`, `last_name`, `full_name`, `email`, `list_name`, `tags` and `custom_fields`, plus `task_override` on a call trigger and `message_override`, `timezone`, `segment_tag` and `consent` on a text trigger — send one of those at the top level and it's read as itself, not as a custom field. A top-level value also has to be a simple one (text, a number, or true/false); a nested object or a list is skipped there, because neither has a sensible form to drop into a sentence. Inside `custom_fields` values are taken as sent, and if the same key appears in both places the `custom_fields` copy wins.

  The key you push must match the field name shown in the picker, snake\_cased, or the merge field won't resolve — a HighLevel field named "Property Address" expects `property_address`, either way you send it.

  **Custom fields need a reconnect.** Reading them requires a permission that wasn't part of the original LeadConnector authorization. If your HighLevel connection predates this, its *Custom fields* group will be empty until you disconnect and reconnect it under **Integrations → CRM**. The *From your CRM* group needs no reconnect, and for a HighLevel location it lists Company Name, Address, City, State, Postal Code, Country, Website and Source.

  **Name, Email and Phone aren't in that group, and nothing is broken.** First name, Last name, Full name, Email and Phone resolve on every send whether or not a CRM is connected, so the picker lists them once at the top under *Contact* rather than repeating them under *From your CRM*.
</Callout>

<Callout title="Why isn't my campaign dialing?">
  Standard calling and texting campaigns dial **only** when a lead is posted to their trigger URL — they don't work through a contact list on their own. If a campaign sits "active" doing nothing, it's waiting for triggers. (Batch campaigns are the exception; they dispatch themselves on schedule.)
</Callout>

<Sequence
  caption="Nothing happens until step 2. That's the part people miss."
  steps={[
  { title: "A lead appears in your system", note: "A form fill, a new CRM record, a row in a spreadsheet — wherever your leads arrive." },
  { title: "Your system posts it to the campaign", note: "One request to that campaign's trigger address, carrying the phone number and anything else you want the agent to know." },
  { title: "ClearTalk creates or updates the contact", note: "And the custom fields you sent become variables the agent can use by name." },
  { title: "The campaign's agent calls or texts", note: "Within the campaign's working hours, using its agent and its follow-up rules." },
  { title: "The result comes back to you", note: "Through the webhook, into whichever system you pointed it at." },
]}
/>

[Triggering a campaign](/docs/campaigns/triggering) covers the same thing from ClearTalk's side, including how to find the address and what's worth putting in `custom_fields`.

## 3. Text new HighLevel leads automatically

Same recipe, texting campaign URL instead:

```bash
POST https://backboard.cleartalk.ai/api/public/sms/trigger/YOUR_CAMPAIGN_ID
```

Identical body shape, plus two optional extras: `consent` (an object stored verbatim with the enrollment as your compliance record — see the [texting compliance playbook](/docs/playbooks/texting-compliance)) and `timezone` (IANA name; otherwise inferred from the lead's area code). The response tells you what happened: `sent`, `enrolled` in the message sequence, `skipped_engaged` (the lead is mid-conversation and won't be interrupted), or `suppressed` (opted out — not texted).

## 4. Book straight into a HighLevel calendar

With the native connection, no webhook mapping is needed for appointments: in your agent's calendar settings choose your connected HighLevel calendar as the calendar source, and the agent checks availability and books directly into HighLevel during the conversation.

Bookings made this way live in HighLevel, not on ClearTalk's Bookings tab — that's the point of choosing a CRM calendar. See [Booking in conversations](/docs/calendars/booking-in-conversations) for how the agent handles time zones and unavailable slots.

## 5. Keep HighLevel's do-not-disturb in sync

Add a second webhook destination subscribed only to the opt-out event (`sms.conversation.opted_out`), pointed at a small HighLevel workflow that applies your DND tag. Every STOP reply in ClearTalk then flows into HighLevel automatically, so no other system texts that lead either.

## 6. See every call on the contact

With the native connection, each finished call is logged into the contact's conversation in HighLevel automatically, with its recording, and the call's summary is added as a note on the contact. No workflow or webhook is needed. If the caller isn't a contact yet, one is created from their number.

<Callout title="Connected before this existed? Reconnect">
  Logging calls needs a permission older connections weren't asked for. If calls don't appear on your contacts, disconnect and reconnect HighLevel under **Integrations → CRM**.
</Callout>

## 7. Let the agent work in HighLevel mid-call

The native connection also unlocks ready-made agent tools that act on the caller's own HighLevel contact, found by the number they're calling from: **Look up the caller**, **Update caller details**, **Add a call note**, **Tag the caller**, **Create an opportunity** and **Move an opportunity**. Add them from **Tools → Add a tool**, where they're listed under HighLevel, and the pipeline and stage dropdowns load from your account. See [ready-made tools](/docs/tools/ready-made-tools#your-crm).

Tagging is the bridge into your HighLevel automations: **Tag the caller** with a tag a HighLevel workflow listens for, and that workflow runs while the caller is still on the line.
