Omnichannel Contact Center

Salesforce: User’s Guide

Reading time | 5 minutes

Purpose

The objective of this manual is to explain the installation and configuration procedure of the OCC Agent Integration in Salesforce Lightning.

Requirements

The requirements to be able to follow all the steps in the manual are as follow:

  1. Have access to Salesforce super admin user.
  2. Have the URL of the package provided by the Enreach provisioning team.
  3. Recommended browser: Google Chrome or Chromium-based browser.
  4. Have an Omnichannel Contact Center account.
  5. Having provided Enreach:
    • Salesforce username (Settings > Users > copy Super Admin Username) Example: productionaccount@enreach.com
    • Your Salesforce domain. Example: https://enreach.lightning.force.com/
    • Omnichannel Contact Center account where users will use Omnichannel Contact Center of Enreach and Salesforce.

Installation and configuration

Step 1: Install the package provided by Enreach

1) Open the URL provided by Enreach and enter your Salesforce account super admin credentials.
You will see the following dialog ➡️

2) Select for whom you want to install the package.

3) Click the check: I understand that I am installing a non-Salesforce application that is not authorized for distribution as part of the Salesforce AppExchange Partner Program.

4) Click install.

5) Wait for the installation to complete. This may take a few minutes. The super administrator will receive an email notification when it is finished and the voice package will be visible in Settings > Installed Packages.

Step 2: Add permissions to the application.

1) Go to Settings.

2) Type in the search engine “Application Manager” and select it.

3) Search for Enreach in the list of applications, go to the drop-down and click on Manage.

4) Click on Modify policies at the top of the opened page:

5) Under Oauth Policies, choose the Super administrator approved users have been previously authorized option and click Save:

6) When you save you will be automatically returned to the Enreach applications management menu where you have been previously

7) Find the Profiles section at the bottom and click the Manage Profiles button.

8) On the page that opens choose system administrator and save.

Step 3: Add permissions to Call Center users

1) In configuration, search for Call Centers.

2) Assign the Salesforce users who will have the Call Center available. To do this you need to click on EnreachCallCenter.

3) Within the call center configuration, click on the Manage Call Center Users button:

4) The user management screen will display the list of users who have already configured the call center. You can also add the call center user by clicking on Add users.

Step 4: Configure Call Center visibility

To display the agent in the Service Console module it is necessary to configure the page layout. To do this, from the configuration menu, find Application Manager and select Service Console.

1) Select Service Console (or configuration module) and open the Edit menu:

2) Go to Utility Items > add Utility Item > search Open CTI Softphone:

3) Click on Save.

Step 5: Configure the page format to be used

💡 This option applies if you want to use the case/task format created by Enreach that includes all the fields of the call. It is also possible to keep the Case format used so far and add the Enreach call fields.
Depending on whether your call answering flow will open a case or a task, you will have to perform this procedure for one or the other.

1) In Configuration > Object Manager > Case/Task > (Case) Page Formats > Page Format Assignment:

2) Click on Modify Assignment.

3) Select all fields that hace Case/Task Layout and change it to Case/Task Enreach Layou

Step 6: Configure call behavior

Behavior during ringing/when calling out

On inbound and outbound calls to/from the agent (during ringing), the Enreach Webphone agent will use the Softphone Layout configuration in Salesforce. This enables the following use cases:

  • Search by phone number in the selected entities.
  • Configuration for one match, many matches and no matches.
  • Ability to assign different Layouts to different Salesforce profiles and have them using the same Enreach softphone.
  • Ability to create Salesforce flows and have the phone channel variables available.

To configure it:

1) Go to the Configuration and look for Softphone Formats within the configuration menu.

2) Click on New to crate a new configuration or on Edit to view or modify an existing configuration.

3) Add a name, check the It is the default format option and in the selection list choose the type of call for which this softphone configuration you are going to edit should be used.

In the “Show these Salesforce objects” section you can choose which objects you want to be displayed on calls. Note that in Salesforce the call lookup is done by phone number, so it will only return objects that contain the reported phone number.

⚠️ Add at least the Contact, Case and Task objects.

Use case: Show leads and accounts matching the customer phone number

If in this section you have selected Contact and Account, when a call comes in, Leads and Accounts containing the phone number that made the call will be displayed 👇

1) Below the list of selected objects, you can choose which fields of those objects you want to be displayed.

2) In the Display opening settings section for incoming call types, click Edit to the left of each record matching row.

3) Select the screens to display when the phone number of an incoming call matches or does not match existing records in Salesforce.

4) Click on Save.

💡 More information about the softphone configuration possibilities can be found in the following article.

Behavior when agent picks up/emits a call

1) To choose the flow, go to the Application Launcher at the top left, and search for Enreach Configuration:

2) Go to New and Save (no need to add a name):

3) A 00000 configuration will be created. Select Update configuration at the top right.

4) Select the preferred flow when the agent picks up the call and Save.

💡 Only Autolanched flows can be selected. These flows do not support pop-up tabs

5) Go back to ServiceConsole
6) The phone icon will appear at the bottom left.

Using variables in Flows

If a Flow has been selected in the Softphone Layout configuration, it will be possible to include the following variables of the telephone channel:

VariableDefinitionExample
uniqueIdUnique Caller ID76-86576324233.1233
agentCodeAgent CodeAG2
agentNameAgent NameAgent 1
agentUserName User name of the agentagente_01
callStart Date when the call is started in Enreach
callerId Number from which the call originates+34931234567
lastQueueName Name of the queue through which the call comes in.Sales Queue
serviceName Name of the line on which the call comes in.Sales line [931234567]
NRIPhone line on which the call came in.+34931234567
recordingURL Call recording recordinghttps://manager.masvoz.es/api/rs/call/detail/download/iframe/uniqueid/13245-1234567891011.mp3
callType Address of the callinbound
outbound

To use our variables in Flows follow these steps:

1) Go to Configuration and look for Flows within the Setup menu.

2) Choose the flow in which you want to use the Enreach variables.

3) In the Toolbox go to New Resource:

4) Fill in the form with the following information:

  • In Resource Type: Variable.
  • In API Name: the name of the speaker variable to be used in the flow
  • In Data Type: the type of data contained in the variable.

5) Activate the check to make the variable available.

6) To save, click on Done.

7) The variable should appear in the left panel, under Variables.

8) To use the variable in your flow you will have to do it in the following format: {!variablename}

⚠️ If you test the behavior and is not the expected, delete the cookies from your browser and try again.