Salesforce Agent Settings and Permissions

The Salesforce Agent Settings screen allows you to configure settings that control the behavior of the Salesforce Agent (SFA) agent application. At the bottom of the Salesforce Agent Settings screen, you can click Download Agent Settings Log.

CXone and Salesforce Presence Sync Settings

To use agent presence sync and determine the settings associated with it, complete the following steps:

  1. If using Salesforce Classic, click All Tabs icon of a plus sign. > Salesforce Agent Settings.

    If using the Lightning Experience, click App Launcher icon of dots in a 3 by 3 grid. > View All > Salesforce Agent Settings.

  2. Select Enable Agent Presence Sync.

  3. Determine the presence master.

    • CXone—Sets CXone as the master for availability settings. This is a one-way sync. For example, if the agent's status in the Salesforce Omni-Channel Widget is Available, then that is what the agent's status in Salesforce Agent will be too.

    • Salesforce—Sets Salesforce as the master for availability settings. This is a one-way sync. For example, if the agent's status in Salesforce Agent is Available, then that is what the agent's status in the Salesforce Omni-Channel Widget will be too.

    • Bi-Directional—Neither application is the master. This option updates both based on changes to the agent status in either Salesforce Agent or the Salesforce Omni-Channel Widget. This option is only available in the Salesforce Agent Lightning.

    The CXone Status options are configured using unavailable codes. The Salesforce Omnichannel Status options are configured using presence configurations.

  4. Click Add Presence Mapping to create different data mappings for each Salesforce profile. You can also create a default configuration that applies to any profile that does not have its own settings.

  5. Click Save.

Task Creation Settings

When you Enable Screen Pops skills in CXone, the trigger event is set to Linked as the default.

  1. If using Salesforce Classic, click All Tabs icon of a plus sign. > Salesforce Agent Settings.

    If using the Lightning Experience, click App Launcher icon of dots in a 3 by 3 grid. > View All > Salesforce Agent Settings.

  2. Determine task creation settings using the following selections for each channel:

    • Create Task—Salesforce creates a task, or record, for each interaction.

    • Always Create New Task—When selected, forces the creation of a new task. This allows you to work on other items without risking the mapping of data from a new contact to a manually created task for another contact.

    • Create Task For Refused Contacts—When selected, forces the creation of a new task for refused contacts.

    • Pop Task—Pops either the task associated with the current contact or a new task, as designated.

  3. You can restore mapping to default values by clicking Reset To Default.

  4. You can determine the record type by selecting Record Type to use when creating the Task record. From the drop-down, select the record type previously created in Salesforce. See the Salesforce documentation for more details of creating a record type.

  5. Click Save.

Directory Use

  1. If using Salesforce Classic, click All Tabs icon of a plus sign. > Salesforce Agent Settings.

    If using the Lightning Experience, click App Launcher icon of dots in a 3 by 3 grid. > View All > Salesforce Agent Settings.

  2. If your agents are using Personal Connection and you want searches in the directory to use the information in the External ID field, rather than the phone number, you can select Configurable Search for Personal Connection.

  3. You can ensure agents cannot transfer calls using the directory history, by selecting Hide the history from directory when transferring calls.

  4. Click Save.

Configure Data Storage

Follow the steps below if you want Salesforce Agent to save CXone variables to a field in the User object for use by JavaScript code.

  1. If using Salesforce Classic, click All Tabs icon of a plus sign. > Salesforce Agent Settings.

    If using the Lightning Experience, click App Launcher icon of dots in a 3 by 3 grid. > View All > Salesforce Agent Settings.

  2. Select Store Salesforce Agent Script Variables.

    Salesforce Agent stores variables as name/value pairs delimited with the pipe sign ( | ). For example: ANI=8015550100|DNIS=8005550122|OPTION=3.

  3. Click Save.

Transfer Bookmark

  1. If using Salesforce Classic, click All Tabs icon of a plus sign. > Salesforce Agent Settings.

    If using the Lightning Experience, click App Launcher icon of dots in a 3 by 3 grid. > View All > Salesforce Agent Settings.

  2. You can allow agents to transfer Name and Relates To field values along with voice interactions by selecting Transfer Name and Relates To selection on Call Transfer. When enabled, the agent that receives the transferred voice interaction will also receive those field values.

  3. You can delete the saved transfer data for that day by clicking Clear Bookmark Data.

  4. Click Save.

Manual Selection of Name or Relates To Fields

When you enable Require manual selection of Name and Relates To fields, agents must manually select the fields for the Name drop-down and Relates To drop-down in the agent interface. Otherwise, those fields are automatically populated. This setting is disabled by default.

Display Text or Icons

In Salesforce Agent Lightning, you can determine whether the agent interface displays text or icons.

  1. If using Salesforce Classic, click All Tabs icon of a plus sign. > Salesforce Agent Settings.

    If using the Lightning Experience, click App Launcher icon of dots in a 3 by 3 grid. > View All > Salesforce Agent Settings.

  2. Select one of the following options:

    • Display Text—The agent application will show text on buttons and labels. This is the default setting.

    • Display Icons—The agent application will show icons instead of text on buttons and labels. If this is enabled, agents can hover over the icon to see the related text if necessary.

  3. Click Save.

Entity Mapping

The Salesforce Extension can store metadata and agent notes about the call in a special activity object. You can map data from Salesforce Agent to any object and field in Salesforce. This mapping occurs through a centralized extension configuration document stored in Salesforce. Salesforce stores the CXone data to the most recently opened instance of an object type. You can create custom objects and fields to store CXone data if you don't want to store it in any of the standard objects or fields. See the Salesforce documentation for more details.

The administrator package contains a sample extension configuration document. To store default call data to custom fields on the task object, remove the comments in the configuration document. You should provide agents with an after-call work period to take notes. Agents can also identify the contact, case, or opportunity record to link to the call record. The sample configuration document defines the following custom fields:

Under Entity mapping for Who & What (Classic)/Name & Relates To (Lightning) fields, determine entity mapping settings. The Who or Name drop-down is used to select any associated individuals, such as a contact or a supervisor, and the What or Relates To drop-down is used to select any associated accounts, cases, or opportunities.

There are three options available:

  • Map contact data to "all" objects opened by the Agent during the contact—The default behavior of the agent application is to write contact data to Salesforce entities as defined below for all entities the agent opens during an interaction.

  • Limit contact mapping only for the "selected" objects in the fields—This option writes contact information per the mapping defined below to only one selected Salesforce entity shown in the Who & What fields.

  • Restrict contact mapping to the objects selected below—This option allows you to select which objects you would like your agents to be able to select in the Who and What fields. Using the Add and Remove arrows, add objects from the Available column to the Selections column to include them in your agent's options.

To map NICE CXone data values to Salesforce fields and objects, follow these steps:

  1. If using Salesforce Classic, click All Tabs icon of a plus sign. > Salesforce Agent Settings.

    If using the Lightning Experience, click App Launcher icon of dots in a 3 by 3 grid. > View All > Salesforce Agent Settings.

  2. In the drop-down, select the object (or entity) and click Add Entity.
  3. Once the object populates, click Add Field to the right and add fields for the object.
  4. In the first drop-down, select the Salesforce object field.
  5. In the second drop-down, select CallInfo, ChatInfo, Email Info, ScriptVariable, SMS Info, Digital Info, VoiceMailInfo, or WorkItemInfo to see variables related to the interaction type. If you are using Salesforce Agent Lightning, you can also select Master Contact ID, Omni Group ID, or Parent Contact ID. Configure the populated fields as needed.

    The variables you see will differ based upon the interaction type you selected.

    The ScriptVariable field indicates the value of a named variable from the IVRClosed Automated phone menu that allows callers to interact through voice commands, key inputs, or both, to obtain information, route an inbound voice call, or both. workflow script. If you select this type of data value, you can type in a script variable name. The variable must be published from the IVR script for the value to be saved to Salesforce. The Use Screen Pops permission for the skill setting must be enabled in order for the variable to be mapped.

  6. Select the CXone value to save to the Salesforce object field.

  7. Click Save.

Add Agent Custom Settings to Navigation Items

You can add Agent Custom Settings to the navigation items in your Salesforce Agent Lightning apps.

  1. Log in to Salesforce Agent Lightning as an administrator.

  2. Click Setup Image of gear icon with lightning bolt inside. in the top right corner of the page and select Setup from the drop-down.

  3. Under Platform Tools in the left menu, click Apps > App Manager. You can also search for App Manager in the Quick Find bar.

  4. Click Actions Image of downward facing arrow. > Edit on the application you want to add navigation items to. This will open the Lightning App Builder.

  5. Under App Settings, click Navigation Items.

  6. Select Agent Custom Settings in the Available Items section and click Add Image of right facing arrow.

  7. Click Save. Agent Custom Settings will now display in the navigation drop-down for the app you edited.