Skip to content
DhvaneeDocs
Dashboard
On this page

Salesforce

Create an app in Salesforce, then sign in, to sync leads and contacts, let agents work with records, and log every call as a task.

Salesforce connects through an app you create in your own Salesforce org, so you keep control of access. You need permission to create apps in Salesforce Setup (usually a System Administrator).

Step 1: Copy the callback URL from Dhvanee

  1. 1

    Open the Salesforce form

    Open Integration in the sidebar (the Connections page) and go to the Available tab. Type the CRM's name in Search.... Choose Connect with Salesforce.

  2. 2

    Copy the callback URL

    Under the fields, the form shows Add this callback URL to your Salesforce app followed by an address. Copy it. Leave this window open.

Step 2: Create the app in Salesforce

  1. 1

    Create an External Client App

    In Salesforce Setup, search for External Client App Manager and choose New External Client App (older orgs can use a Connected App). Give it a name such as "Dhvanee" and a contact email.

  2. 2

    Turn on OAuth

    Under API (Enable OAuth Settings), turn on OAuth and paste the callback URL from Dhvanee.

  3. 3

    Add the scopes

    Add Manage user data via APIs (api) and Perform requests at any time (refresh_token, offline_access). Leave PKCE on or off; either works.

  4. 4

    Copy the keys

    Save the app, then open its settings and copy the Consumer Key and Consumer Secret. New apps can take a few minutes to become active.

Step 3: Connect in Dhvanee

  1. 1

    Fill in the form

    Back in the Salesforce form, enter a Connection name, your Instance URL (for example https://yourcompany.my.salesforce.com), and paste the Consumer Key into Client ID and the Consumer Secret into Client Secret.

  2. 2

    Sign in

    Choose Connect, sign in to Salesforce and choose Allow. You come back to Dhvanee and Salesforce appears on the Connected tab.

The Salesforce connect window with the callback URL

Sync contacts

Connecting does not import anything yet. To bring your Salesforce records into Contacts, click the connected Salesforce card on the Connected tab and choose Set up contact sync, or open Contacts, then ..., then CRM connections, and choose Set up.

  1. 1

    What to import

    Choose everything, one list or view (where the CRM has them), or Only where… to import only records that match a filter. A live count shows how many will come in.

  2. 2

    Fields

    Choose which CRM field goes into which Dhvanee field, and what wins when a contact already has a value: Use the CRM's value or Keep the Dhvanee value. Every kind of record needs a phone or email mapped, so people can be matched.

  3. 3

    Review

    Check the preview and choose what happens after each call. Log activities automatically writes each call summary to the lead or contact as a completed task. You can import Leads (only ones not yet converted), Contacts or both, all of them or a filter. Choose Start import.

Screenshot to add: Choosing what to import and mapping fields in contact sync

After the first import, changes in the CRM come in every few minutes, and everything is checked again once a day. Sync now runs a full check straight away and History shows past runs.

Use it in agents and automations

  • Agents: open an agent's Functions, choose + Add, and pick a Salesforce function, such as finding the caller or logging the call. The Functions tab of the Salesforce connect window lists them all. See Voice agents.
  • Automations: add a Salesforce step, for example to create or update a record after every call. See Automations.

Look after the connection

ButtonWhat it does
VerifyChecks that the connection still works.
ReconnectUse it when the card says Reconnect needed, for example after a key was changed or a permission was removed.
Add accountConnects another Salesforce account.
DisconnectRemoves the connection. Contacts stop syncing and automations that use it fail until you connect again. People already imported stay in Contacts, and nothing is deleted in the CRM.

Agent functions

Find, get, create or update a lead or contact; log a call; create a task; add a note to a record; get and update accounts; list an account's opportunities; get opportunities, cases and users; and read or update custom object records.

Troubleshooting

MessageWhat to do
Enter both the client ID and the client secretPaste both values from your Salesforce app.
That is not a Salesforce sign-in addressThe Instance URL must be your https address on salesforce.com or force.com.
An error on Salesforce's own page after ConnectUsually the callback URL in your Salesforce app does not exactly match the one Dhvanee shows. Copy it again, or wait a few minutes for a new app to become active.
This connection has no saved app keys. Enter them again.Enter the Client ID and Client Secret again and connect.
Salesforce · Dhvanee Docs