This voice integration uses the NiCE CXone Agent for Service Cloud Voice (BYOT) Salesforce App to allow your agents to accept NiCE CXone calls in Salesforce Service Cloud Voice. Agent Assist uses the voice call stream from NiCE CXone Agent Assist Hub to provide suggestions to your agents in the Salesforce Lightning Service Console . The following diagram illustrates this integration architecture:

Figure 1.Integration architecture for Salesforce voice with Agent Assist and NiCE CXone.
Before you begin
To integrate Agent Assist UI modules with Salesforce, you need access to the following resources:
- Salesforce and Agent Assist resources
- Agent Assist for Salesforce app
- NiCE CXone instance
-
NiCE CXone Agent Assist Hub add-on license
The NiCE CXone Agent Assist Hub add-on allows your NiCE CXone instance to send voice call media streams to Agent Assist. NiCE CXone is a licensed product.
-
NiCE business unit number
-
NiCE point of contact (POC) phone number
The number that you use to test this Agent Assist integration is the one your end users call to talk to your agents.
Step 1: Configure NiCE CXone Studio and NiCE CXone Agent Assist Hub
This step describes all the configurations necessary in your NiCE CXone instance.
Configure call flow with NiCE CXone Studio
Configure a programmatic call flow with NiCE CXone Studio to route incoming calls to your agents and send the call media streams to Agent Assist. Follow these steps to configure your NiCE CXone Studio call flow:
- Sign in to the NiCE CXone console.
- Click to open the Applicationsmenu > Omnichannel Routing> Studio.
- On the Studio page, create a New Script.
Configure this call flow with the following NiCE CXone Studio activators and actions:
- Begin : This becomes active when a call comes into your NiCE POC phone number.
- Reqagent : This action sends the call to a specific skill. Select the skill associated with the agents who you would like to receive calls.
- Music : This action plays hold music.
- Wait : This action suspends the flow until something else is activated.
Next, use the following NiCE CXone Studio activators and actions to configure what happens when an agent answers an incoming call:
- Onanswer : This action is activated when an agent answers a call.
- Ziptone : This plays a beep when an agent picks up the phone in a NiCE CXone agent desktop, such as the NiCE CXone Agent for Service Cloud Voice (BYOT) softphone.
- Agent Assist : This action requires a conversation profile . This action is responsible for creating a conversation and sending an incoming call's media streams to Dialogflow, so that the Agent Assist UI modules LWC can render the transcript and Agent Assist suggestions in Salesforce. See the NiCE CXone Studio integration documentation for configuration details.
You can also configure Agent Assist for outbound calls with the following NiCE CXone Studio activators and actions:
- Placecall
: You can use this action to initiate the call and connect the Agent Assist action to the
OnAnswerbranch ofPlacecall. - Onanswer
- Agent Assist : Activate this action when the remote party answers an outbound call.
Step 2: Install a NiCE CXone Agent for Service Cloud Voice (BYOT)
Salesforce provides the add-on license Service Cloud Voice (SCV), which allows integration of third-party softphones with your Salesforce instance. NiCE CXone provides a SCV add-on called NiCE CXone Agent for Service Cloud Voice (BYOT). Follow NiCE's documentation to set up NiCE CXone Agent for Service Cloud Voice (BYOT) in your SCV-enabled Salesforce instance.
Step 3: Add Agent Assist module to a record page
Add Agent Assist to the voice call record page for it to be visible to human agents.
Step 4: Agent Assist for Salesforce settings
Configure Agent Assist for Salesforce settings .
Add the NiCE CXone conversationIDPrefix
to skillsets
-
When you create a skillset , add
conversationIDPrefixin the following code:BusNo-{NiceBusinessUnitNumber}_ContactId- -
Replace {NiceBusinessUnitNumber} with your NiCE Business Unit number. The resulting value should look like the following:
BusNo-1234567_ContactId-

