Skip to content

Adding Nice inContact as a Channel

The Platform supports Nice inContact as a channel for integrating a virtual assistant with the NiceCXone Chat Automation platform for creating a rich and synchronous messaging experience for the end users.

Types of Nice inContact Channel

The Nice inContact as a Channel supports two chat interaction modes, DFO and Legacy Chat.

DFO supports plain text messages, digital forms, and rich text elements such as message formatting, links, and templates.

The Legacy Chat supports only plain text messages. Digital forms and rich text elements like message formatting, templates, and links are not supported.

Select the chat interaction mode on the Channels & Flows > Channels > Digital > All > Nice inContact > Instructions tab. By default, DFO is selected.

Instructions tab

Prerequisites

The following are prerequisites for adding Nice inContact as a Channel on the XO Platform:

  • Access to Nice CXone Portal,
  • Access to the XO Platform,
  • Ensure that the Nice inContact is enabled as a channel on the Platform,
  • Nice inContact Channel Studio Script,
  • Keep the Webhook URL and Client ID values handy.

Enable Nice inContact as a Channel on the XO Platform

Perform the following steps to enable Nice inContact as a channel, download the Studio Script, and get the Webhook URL and client ID from the XO Platform.

  1. Login to the Platform and navigate to Channels & Flows > Channels > Digital > All > Nice inContact > Configurations.
    Configurations

  2. On the Configurations tab, Click Download File to download the Studio Script.

    Note

    • The downloaded studio script varies based on the selected chat mode. The Scripts are not interchangeable between Legacy Chat and DFO modes.
    • Avoid altering the downloaded script; it could affect the channel’s communication ability.
  3. Select an application from the dropdown list to view the Client ID and other fields. If an application is not available, Click Create App to create it. For more information, see the Add Web/Mobile Client Channel.
    Nice InContact Configurations

  4. In the Enable channel, select Yes and then click Save. The configuration saved success message is displayed.
    Nice InContact Configuration saved

Configure Nice inContact

Steps to configure the Nice inContact as a channel – DFO:

  1. Step 1 (Common): Install Nice Studio
  2. Step 2 (Common): Import the Studio Script and Create a Custom Exchange EndPoint
  3. Step 3 (for DFO): Create the Chat Point of Contact
  4. Step 4 (for DFO): Create the Digital Routing Queue for the Agent Transfer

Steps to configure the Nice inContact as a channel – Legacy Chat:

  1. Step 1 (Common): Install Nice Studio
  2. Step 2 (Common): Import the Studio Script and Create a Custom Exchange EndPoint
  3. Step 3 (for Legacy Chat): Create the Chat Point of Contact
  4. Step 4 (for Legacy Chat): Enabling the Agent Transfer

Step 1 (Common): Install Nice Studio

  1. Log into the Nice CXone Portal.
  2. Click the profile icon in the top right corner and then click Support & Downloads. The download page is displayed.
    Download page

  3. In the Studio section, download Studio Installer to download the Nice inContact StudioSetup.exe file.
    Download Studio installer

  4. Launch the StudioSetup.exe and install Nice inContact Studio. Log into Nice inContact Studio using NiceCXone portal login credentials.

Step 2 (Common): Import the Studio Script and Create a Custom Exchange EndPoint

  1. In the Nice Studio, click File > Import from File.
    File - Import from File

  2. Select the Studio Script downloaded from the XO platform and then click Open. For example, Chat_Script.XML.
    Open Studio Script file

  3. In the displayed script, double-click either of the Text Box Exchange; For example, in the Chat_Script, double-click Textbot Exchange.
    Double click Text Box exchange

  4. The Virtual Agent page is displayed. Click Add Bot.
    Add bot

  5. On the General Information page, type in the bot name, select Custom Exchange Endpoint, and click Next.
    Custom Exchange endpoint

  6. On the Bot Configuration page, fill in the details as shown and then click Next.

    1. Select the Integration Version as 3.0.0 from the dropdown list.
      Integration version - 3.0.0

    2. Paste the Webhook URL.

    3. Under the Customer Headers, click Add Custom Headers.
    4. Type “Authorization” in the Name field and “Bearer (client ID)” in the Value field.
      Custom headers
  7. On the Voice page, in the voice integration options, select Text Only (No Voice Support) and click Next.
    Integration options - Text Only

  8. On the Test + Add page, click Add.
    Test + Add

  9. The bot saved success message is displayed.
    Bot is successfully saved

  10. Click Close. The Nice inContact script is displayed.

  11. Double-click the other Text Bot Exchange Configuration. The Virtual Agent page is displayed.
    Virtual Agent page

  12. Click the right tick mark next to the created bot. The “Select this bot for this Studio action?” pop-up is displayed.
    Select bot for studio action

  13. Click Yes and then click Close.

  14. In the Nice inContact Studio, go to file and Save the script.
    Save the script

Step 3 (for DFO): Create the Chat Point of Contact

To Interact with the Virtual Assistant in Nice Channel, create a chat POC.

  1. Log into the Nice CXone Portal.
  2. Click the Applications icon in the top left corner. Under Omnichannel Routing, click ACD.
    Omnichannel Routing - ACD

  3. In the left-side vertical menu, under DFO, click Point of Contact Digital.
    DFO - Point of Contact Digital

  4. In the Add Channel section, click Chat. The My Channels page is displayed.
    My Channels

  5. Click Create Messaging Channel, type in the channel name, and click Create.
    Create mesaging channel

  6. The created channel is displayed.
    Channel displayed

Step 4 (for DFO): Create the Digital Routing Queue for the Agent Transfer

  1. Log into the Nice CXone Portal.
  2. In the left-side vertical menu, under DFO, click Routing Queues. All the available queues are displayed.
    Queues

  3. Click Add Queue, type in the queue name for the Routing Queue, and then click Save.

    Note

    Depending on the account type and the number of queues created, the system might hide the “create queue” option.

  4. Click Filters and then click Add routing queue filter.
    Filters - Add Routing queue filter

  5. Type in the Filter Name and click Save.
    Filter name

  6. The Condition Type page is displayed.
    Condition type

  7. Click Create condition for selected type. All Channels page is displayed.
    All Channels

  8. Search the created channel and click the respective Add, For example, Bot Channel. The selected channel is displayed.
    Add the created channel

  9. In the left-side vertical menu, under DFO, click Point of Contact Digital.

  10. Search the created channel and click the respective Edit.
    Edit the channel

  11. Select the created Studio Script from the Select Studio Script dropdown and Skill from the Select Default Skills dropdown.
    Select Studio script

  12. Click Save. The channel saved success message is displayed.

You may go to DFO > Point of Contact Digital > Chat > My Channels and click Initialization & Test to test a bot.

Step 3 (for Legacy Chat): Create the Chat Point of Contact

To interact with the Virtual Assistant in the Nice InChannel, the developer must create a Chat Skill and Chat Point of Contact. The Point of Contact triggers the Studio Script associated with the Virtual Assistant.

  1. Create a Campaign.

    1. Log into the Nice CXone Portal. In the Applications menu in the top left corner, under Omnichannel Routing, click ACD (Automatic Call Distribution).
      Omnichannel routing - ACD

    2. In the left-side vertical menu, click Contact Settings and then click Campaigns. The Campaigns page is displayed.

    3. Click Create New to create a Campaign.
      Create new campaign

    4. Type in the campaign name and click Create Campaign.
      Create campaign

    5. The success message is displayed.

  2. Create A skills.

    1. In the left side vertical menu, under Contact Settings, click ACD Skills > Create New > Single Skill.
      Create new single skill

    2. In the Skill Information section, in the Media Type dropdown, select Chat.
      Media type - Chat

    3. Type in the Skill Name, and select the created campaign from the Campaign dropdown.

    4. In the Transferred to Script dropdown, select the script and click Create.
    5. The skills created success message is displayed.
  3. Create a Point of Contact.

    1. In the left side vertical menu, under Contact Settings, click Point of Contact > Create New > Single Point of Contact.
    2. Enter the Point of Contact Information.
      Contact settings

      1. In the Media Type dropdown, select Chat.
      2. Type in the Point of Contact name.
      3. Select the created Skill and Script from the respective dropdown.
      4. Click Create Point of Contact.
      5. The success message is displayed.

      Point of contact is created

You can use the generated Point of Contact link to test the bot.

Step 4 (for Legacy Chat): Enabling the Agent Transfer

  1. In the Nice Studio > Chat Script, right-click the Reqagent action.
    Chat script - Reqagent

  2. Under the Properties section, in the TargetAgent dropdown, select the user/group to route the agent request.
    Select user/group to route request

  3. Save the script.