Salesforce
How It Works
- A Salesforce app from the Salesforce AppExchange is installed in your org. It creates the Tethr Call object that Capacity writes data to
- Capacity connects to Salesforce using an External Client App you create in your org
- When an interaction meets the trigger criteria you define, Capacity sends the data you've chosen to the matching fields in Salesforce
This article shows you how to prepare Salesforce for the outbound integration and what to share with Capacity so we can configure it for you in Conversation Intelligence (CI).
Before You Begin
Before you can set up the outbound integration, you'll need:
- A Salesforce account with System Administrator privileges (or equivalent permission to install AppExchange packages, create users and manage External Client Apps)
- Your Salesforce domain (My Domain URL), for example
mycompany.my.salesforce.com
Install the Capacity App
The first step is to install the Capacity app from the Salesforce AppExchange. This creates the Tethr Call object in your Salesforce org, which is where Capacity writes interaction data.
- Open the Capacity listing on the Salesforce AppExchange
- Click Get It Now
- Choose whether to install into Production or a Sandbox, and log in with your administrator account
- Follow the on-screen prompts to complete the installation
- Once installed, confirm that the Tethr Call object is available in your org
Set Up Authentication
Capacity needs to authenticate with your Salesforce org to write data to the Tethr Call object. The outbound integration uses the same authentication method as the Salesforce inbound integration: an External Client App using the OAuth 2.0 Client Credentials Flow, running as a dedicated Salesforce user.
Because the method is the same, the setup steps are documented once, in the Salesforce article in the Inbound Integrations section. Follow the steps in that article, from Create a User through to Retrieve the Consumer Key and Secret, then return here.
Choose What to Send to Salesforce
Decide which of the following you would like Capacity to send to Salesforce. Where a Salesforce field is needed, create it first (or identify an existing one) and note its field name, as we'll need it to map the data correctly.
| Data | Description | What Capacity needs from you |
|---|---|---|
| Categories | The categories matched to the interaction | Nothing further. Categories are mapped to their own field |
| Call Scores | Scores calculated for the interaction | The Salesforce field to map to |
| Custom Fields | Custom fields captured on the interaction | The Salesforce field to map to |
| AI Questions | Answers to AI questions configured in Capacity | The Salesforce field to map to |
| AI Summaries | The AI-generated summary of the interaction | The Salesforce field to map to |
Choose Interactions to Send
You can control which interactions are sent to Salesforce.
Call Groups
Decide whether data should be sent for all interactions, or only for specific call groups. If you only want specific call groups, let us know which ones.
Trigger
The trigger is the criteria an interaction must meet before its data is sent to Salesforce. Triggers use the same filters available throughout CI, so you can combine them to match your process.
For example, you might send data only for interactions that match a particular category, or that score below a certain threshold.
What to Share with Capacity
Once the app is installed and authentication is set up, please share the following information with Capacity:
| Item | Description |
|---|---|
| Consumer Key | Consumer Key from the Capacity CI Connected App |
| Consumer Secret | Consumer Secret from the same app |
| Salesforce Domain | Your Salesforce Domain URL.
|
| Data to Send | Which of Categories, Call Scores, Custom Fields, AI Questions and AI Summaries you want sent to Salesforce |
| Field Mappings | For each of Call Scores, Custom Fields, AI Questions and AI Summaries, the Salesforce field to map to |
| Call Groups (optional) | Whether to send for all interactions or only specific call groups, and which groups |
| Trigger Criteria (optional) | The filters an interaction must meet before data is sent to Salesforce. Default is send all interactions |
