# Setup Integration with ElevenLabs

Source: https://www.salted.cx/docs/elevenlabs-integration-setup

Last updated: 2026-10-25T13:34:00.000Z

Connect an ElevenLabs voice agent to Salted CX, configure call webhooks and authentication, and enable escalation to human agents when assistance is needed.

This setup guides you through the integration of your voice bot in ElevenLabs with Salted CX so your voice agent can handle inbound calls and escalate them to a human agent if it does not know how to handle the conversation.

**This guide assumes you already have a voice agent created in ElevenLabs.**

## Setup Webhooks

This section enables ElevenLabs to inform Salted CX about calls it handled.

1.  Go to **Settings** in the navigation on the left [ttps://elevenlabs.io/app/agents/settings](https://elevenlabs.io/app/agents/settings)

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/91e72c1a8ce2edb82f4a5d4f.webp)

1.  Scroll to **Post-Call Webhook** section
2.  Press **Select Webhook** button

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/8f326ede9c329fefb482fbbc.webp)

1.  Into the **Enter a valid display name for the webhook** field enter the Salted CX endpoint

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/9bccb269b2698151619dc555.webp)

1.  Into **Enter a valid callback URL** field enter `https://api.eu.salted.cx/api/v1/live/webhooks/elevenlabs/post-call`
2.  Press **Create** button
3.  Click **Copy to Clipboard** to copy the value from **Webhook Secret** field

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/aa5260eada246705f7f9f595.webp)

1.  Share the copied token securely with Salted CX (using OnePassword or other tools of your choice)

## Setup Authentication

Authentication ensures that Salted CX accepts only calls from your ElevenLabs bot and nobody else can control your conversations in Salted CX.

1.  In **Settings** scroll to **Auth Connections** section
2.  Press **Add Auth** button
3.  Press **Bearer Token** menu item

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/c3e13d1b991c3b6eeefe4059.webp)

1.  Enter **Salted CX EU** as **Name** (or use name of your choice)

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/7b539faaab338d9ac93c17b2.webp)

1.  In **Auth Type** select **Bearer Token**
2.  Enter **Salted CX** as **Provider** (or use name of your choice)
3.  Paste the token you received from Salted CX to **Token** field

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/b8bf389e525c5dbfd77a7bd9.webp)

1.  Press **Create auth connection** button
2.  Make sure **Transcript**, **Audio**, and **Call Initiation Failures** are checked

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/fc2e05fa21fd7672a9e00d49.webp)

## Import Phone Number

This settings makes sure that we can forward the phone call to ElevenLabs.

1.  Go to **Phone Number** from the navigation on the left [https://elevenlabs.io/app/agents/phone-numbers](https://elevenlabs.io/app/agents/phone-numbers)

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/7cb1211ab550a37accf746c9.webp)

1.  Press the **Import number** button

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/f9bd41df1d201b69ca16f687.webp)

1.  Click **From SIP Trunk** menu item
2.  Into the **Label** field fill in your name for the phone number. For example `Customer Support Europe`
3.  Into the Phone number filed fill the international format of the phone number without spaces, dashes and brackets. The phone number should look like `+1234567890`
4.  In the **SIP Trunk Username** fill a value provided by Salted CX. Ask the Salted CX team if you do not have it.

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/7c3df2d4d82767de5a16916a.webp)

1.  In the **SIP Trunk Password** field fill the password provided by Salted CX. Ask the Salted CX team if you do not have it.
2.  In the **Agent** section click on the menu showing **No agent** value

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/b81270502e13380534e142f6.webp)

1.  Choose your voice agent from the menu
2.  Optionally choose branch from which to take the agent.

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/7f53e0524d94547de5729a46.webp)

Now you have a SIP phone number connected to your agent, so inbound calls are routed to that agent.

## Enable Escalations

This setup creates a tool that can be used by

1.  Go to **Tools** from the navigation on the left [https://elevenlabs.io/app/agents/tools](https://elevenlabs.io/app/agents/tools)

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/f054d778c14a9312e4e34ccc.webp)

1.  Click **Add webhook tool** button
2.  Into the **Name** field fill a self-describing name such as `escalate_to_human_agent`

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/9bc0ef1939f60e4889751277.webp)

1.  Into **Description** field describe under which circumstances the tools should be used by the agent. For example:

```json
Transfer the call to a human agent. Use when the customer asks for a human, when you cannot resolve their question, or when the conversation requires capabilities you don't have (booking, refund, account changes, etc.). Always tell the customer you'll connect them to a person.

Always escalate when rebooking or making changes to a trip that is coming in less than 7 days.
```

1.  In **Method** menu select **POST** value
2.  In the **URL** field fill the value `https://api.eu.salted.cx/api/v1/live/webhooks/elevenlabs/escalate`
3.  In **Authentication** menu pick the authentication you have created previously

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/b7436e830d57f158224d44f9.webp)

1.  In **Body parameters** section ⏵ **Properties** add `conversation_pid`

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/ec1edfc9bb4fc080a362708c.webp)

1.  Into description fill whatever you want for example `ID of the conversation`
2.  Set **Data type** to **String**
3.  Into **Identifier** field fill `conversation_pid` value
4.  Make sure **Required** is check
5.  Set **Value Type** to **Dynamic Value**
6.  Into **Variable Name** field fill `sip_conversation_pid`
7.  Press **Add tool** button

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/d6666212c641acec1b2f0b23.webp)

Now you have an escalation tool that your voice agent can use to forward the calls to the agents.

## Route Escalations to Specific Agents (Optional)

By default an escalated call goes to the shared Needs Help queue, where any available agent can pick it up. The escalate tool also accepts optional body parameters that control which human agent receives the call. Add any of them in the **Body parameters** ⏵ **Properties** section of the escalate tool, the same way you added `conversation_pid` (but leave **Required** unchecked).

| Identifier | Data type | Description |
| --- | --- | --- |
| `target_agent_pid` | String | Salted CX ID (UUID) of the specific agent who should receive the call. |
| `agent_selection_strategy` | String | `Best Available` — Salted CX picks the least busy available agent. Any other value is ignored. |
| `timeout` | Number | Seconds the invited agent has to accept the call. Default `30`. Values outside 1–900 are clamped to that range. |
| `on_timeout` | String | `All` (default) — after the timeout the call goes to the shared Needs Help queue. `Next Agent` — the strategy picks another agent. |

How the agent is selected, first match wins:

1.  If `target_agent_pid` is set, that agent is invited.
2.  Otherwise, if `agent_selection_strategy` is `Best Available`, Salted CX selects the least busy available agent.
3.  If neither is set, no agent matches, or the invited agent does not accept in time (with `on_timeout` = `All`), the call goes to the shared Needs Help queue.

The caller stays on hold with music the whole time. Invalid values never block the escalation — they are ignored and the call falls back to the Needs Help queue behavior.

For each parameter you can choose how the value is provided:

1.  **Constant** — set a fixed value, for example `agent_selection_strategy` = `Best Available` if every escalation should use strategy-based routing.
2.  **LLM Prompt** — describe when and how the model should fill the value, for example for `target_agent_pid`: `The UUID of the requested agent, only if the customer asked for a specific person; otherwise omit.` Any values the model may use (such as agent UUIDs) must be provided to it, for example via dynamic variables or the system prompt.

## Add Escalation Tool to the Agent

In this section, we will link the escalation tool so your voice agent can forward customers to its human colleagues.

1.  In the navigation on the left slick on the voice agent you want to use for your agent

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/0bc6af7acd68b7e24d164c78.webp)

1.  Press **Add tool** button
2.  Press the tool you have created in the previous section. The name we have used in this guide is `escalate_to_human_agent`

![Setup Integration with ElevenLabs — documentation image](https://www.salted.cx/docs-assets/77e3fde693cbde8d0760fee7.webp)

Congratulations. Your ElevenLabs setup should now be complete. Try calling your phone number to check if everything works as expected.
