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

# Salesforce Voice AI Integration Guide

> Connect DialNexa voice AI with Salesforce to qualify leads, update contacts and opportunities, log calls, and route follow-up work.

The **Salesforce voice AI integration** turns verified phone outcomes into structured CRM activity. It is most useful when several teams share Salesforce and every call needs an owner, an audit trail, and a consistent next step.

<Warning>
  A catalog page describes a possible workflow. It does not confirm that a native Salesforce connector is enabled in your workspace. Check **Integrations** in the DialNexa dashboard first. If Salesforce is not listed, use a custom function, agent webhook, or external automation service.
</Warning>

## When to use the Salesforce voice AI integration

Use Salesforce when:

* Leads, contacts, accounts, opportunities, or cases are your system of record.
* Call routing depends on account ownership, territory, entitlement, or open case status.
* Managers need voice activity recorded against the correct Salesforce record.
* A qualified call should create a task, update selected fields, or alert an owner.

<Tip>
  **Best first workflow:** Match the caller to a lead or contact, log a completed call with a structured disposition, and create the next task without changing opportunity value or stage automatically.
</Tip>

## Before you begin

Prepare the following:

* A published DialNexa agent that has already passed a basic test call.
* Access to the DialNexa workspace **Integrations** page.
* A Salesforce account with permission to read or update the required records.
* One test record that does not affect a live customer.
* A list of actions that can run automatically and actions that require human review.

## Choose how to connect Salesforce

| Connection method                                   | Use it when                                                  | Important limit                                                             |
| --------------------------------------------------- | ------------------------------------------------------------ | --------------------------------------------------------------------------- |
| Workspace connector                                 | Salesforce appears in your DialNexa **Integrations** page    | Available actions and authentication depend on your workspace               |
| [Custom function](/docs/agent-settings/custom-functions) | The agent needs Salesforce data during the live conversation | Keep the request fast and return only the fields the agent needs            |
| [Agent webhook](/docs/api-access/agent-webhooks)         | Salesforce should receive a result after the call            | Your endpoint must authenticate, retry safely, and prevent duplicate writes |
| External automation                                 | The workflow spans Salesforce and several other systems      | Monitor the external workflow separately from the DialNexa call             |

## Build the Salesforce voice AI workflow

1. Define the exact event that starts the action, such as a confirmed booking, qualified lead, support escalation, or completed call.
2. Choose the connection method from the table above.
3. Map caller identity, the DialNexa call ID, the verified outcome, and the destination record ID.
4. Add a condition so uncertain, sensitive, destructive, or high-value changes go to a human-owned queue.
5. Store the destination record URL or ID with the call result so your team can trace the handoff.
6. Test success, no-match, duplicate, permission-error, and timeout cases before using live traffic.

## Data to map between DialNexa and Salesforce

* Lead or contact ID, account ID, owner ID, phone number, email, and territory
* Call ID, campaign or source, direction, disposition, summary, and next action
* Qualification fields that your sales process already uses
* Opportunity or case ID only after an unambiguous record match
* Task due date, priority, and owner for the promised follow-up

## High-value Salesforce voice AI workflows

| Call outcome                       | Salesforce result                                       | Human control                                                 |
| ---------------------------------- | ------------------------------------------------------- | ------------------------------------------------------------- |
| New lead meets qualification rules | Update approved lead fields and create a follow-up task | Review lead conversion and account creation                   |
| Customer calls about an open issue | Read case status and route to the case owner or queue   | Do not expose private case notes to the caller                |
| Prospect confirms a meeting        | Log the call and attach the meeting details             | Keep opportunity amount and forecast changes human-owned      |
| Caller asks to stop outreach       | Record the request and notify the owner                 | Apply your consent policy before changing contact preferences |

## Verify the Salesforce integration

Run a test call and confirm that:

1. The workflow finds the intended Salesforce record instead of creating a duplicate.
2. Only the approved fields change.
3. The DialNexa call ID is stored for traceability and retry protection.
4. A failed request creates a visible error or human-owned task.
5. The receiving owner can open the Salesforce record and understand the next step without reading the full transcript.

## Troubleshoot Salesforce integration issues

| Problem                                  | What to check                                                                                                                                     |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Salesforce is not shown in the dashboard | Use a custom function, webhook, or external automation service, or [request the integration](/docs/dashboard-integrations/requesting-new-integrations) |
| Authentication fails                     | Reconnect the account and verify scopes, workspace ownership, and token expiry                                                                    |
| No matching record is found              | Normalize phone numbers and email addresses, then define a clear create-versus-review rule                                                        |
| Duplicate updates appear                 | Use the DialNexa call ID as an idempotency key and make retries safe                                                                              |
| The live call becomes slow               | Move nonessential writes to a post-call webhook and keep live lookups small                                                                       |

## Related pages

* [DialNexa integrations overview](/docs/integrations/overview)
* [Connect dashboard integrations](/docs/dashboard-integrations/connecting-integrations)
* [Use integrations in agents](/docs/dashboard-integrations/using-integrations-in-agents)
* [Use integrations in workflows](/docs/dashboard-integrations/using-integrations-in-workflows)
* [Integration workflow tutorials](/docs/tutorials/integration-workflows)
