/
InContact Chat

InContact Chat

 

 

This procedure requires administrative access to OpenMethods Experience Cloud and InContact.

  1. Obtain the OpenMethods Experience Cloud API Key by following the steps laid out in Obtaining OpenMethods Token

Chat Accept Screenpop

Add on answer event and actions

Screenpops in InContact are performed by actions in scripts managed by the Desktop Studio application. We will be adding the actions necessary to invoke an OpenMethods screenpop into an existing script.

  1. Log into the Nice InContact Desktop Studio application

  1. Click the Open button on the menu bar to open the Open Script dialog window

  1. Locate the script for inbound chats in the list of existing scripts and select it. Click the Select button to open the script for editing

Once the script is open, inspect the script to see if the On Answer event block is already present. It will look like:

If it is already part of the script, you can skip to step 7

 

 

  1. In the Tools panel on the right side of the application, locate and click Events to expand the category section

  1. Single click the Onanswer action in the tools panel. This will place the action on your cursor for the next step

  1. Move your cursor to the main canvas area of the script and single click to place the Onanswer action onto the canvas

 

 

  1. In the tools panel, locate and expand the System category

 

 

  1. Single click on the Setsecurityuser action

 

 

  1. Click the main canvas to place the Setsecurityuser

 

 

 

  1. Hover over the Onanswer action until the arrow appears in the lower right corner. Click and drag the arrow to the Setsecurityuser action to connect them

 

 

  1. Right-click on the Setsecurityuser action to bring up its configuration. Set the value for Agent to {agentId}. Click the main canvas area to close the configuration

 

 

  1. Switch to the Framework panel on the left side

 

 

  1. Type “agent list” into the filter box to locate the next action

 

 

  1. Click and drag the Agent List action onto the main canvas

 

 

  1. Connect the Setsecurityuser action to the Agent List action. Select the default path from the list and click the Ok button

 

 

  1. Right-click on the Agent List action to bring up its configuration. Set the value of Agent to “{agentId}”. Click in the main canvas area to close the configuration

 

 

  1. Click the Advanced category in the tool panel to expand it

 

 

  1. Single click the PopURL action

 

 

  1. Click in the main canvas area to place the action

 

 

  1. Connect the Agent List and PopURL activities. Select Success from the list and click OK

 

 

  1. Right-click on the PopURL action to open the configuration panel. Click on the AgentID value area and enter {agentId}

 

 

  1. Click into the value area for URL and click the button on the right side to open a larger editor for the field

 

 

 

 

 

  1. Enter the URL value into the editor window.

    your_base_connectapi_url?agentId={Agents[1].UserName}&jwt=your_jwt_value&event=Chat%20Accept&rnIncidentId={WorkItemID}&mediaType=Chat

     

    Replace your_base_ConnectAPI_url depending on your cloud environment with:
    North America - https://connect.openmethodscloud.com/api/sendmessage/CTI
    GDPR - https://connect.gdpr.openmethodscloud.com/api/sendmessage/CTI

    Replace your_jwt_value with the token string obtain at the beginning of this process. The values in ‘{' and '}’ will automatically be populated by InContact when the script runs.

    Click the OK button to save your changes to the URL property value.

 

 

  1. Click the Save button on the toolbar to save the changes to the script

Saving changes to a script makes them immediately live. There is no publish step like other platforms offer

On End Screenpop

Add PopURL Action

Screenpops in InContact are performed by actions in scripts managed by the Desktop Studio application. We will be adding the actions necessary to invoke an OpenMethods screenpop into an existing script.

  1. Log into the Nice InContact Desktop Studio application

  1. Click the Open button on the menu bar to open the Open Script dialog window

  1. Locate the script for inbound voice calls in the list of existing scripts and select it. Click the Select button to open the script for editing

Once the script is open, inspect the script to see if the Onrelease event block is already present. It will look like:

 

 

If it is already part of the script, you can skip to step 7

  1. In the Tools panel on the right side of the application, locate and click Events to expand the category section

 

 

  1. Single click the Onrelease action in the tools panel. This will place the action on your cursor for the next step

 

 

  1. Move your cursor to the main canvas area of the script and single click to place the Onanswer action onto the canvas

  1. In the Tools panel on the right side of the application, locate and click Advanced to expand the category section

  1. Single click the PopURL action in the tools panel. This will place the action on your cursor for the next step

 

 

  1. Move your cursor to the main canvas area of the script near the Onrlease action and single click to place the PopURL action onto the canvas

 

 

  1. Hover your cursor over the Onanswer action until the small grey button with the arrow appears in the bottom right corner

 

 

  1. Click the small grey arrow button and drag the connector to the PopURL action to link them together

If there was already an Onanswer action with existing linked behavior, you will need to connect the Onanswer and PopURL actions as shown and then connect the the PopURL action to the existing behavior

 

 

  1. Click the PopURL action to select it

  1. At the bottom of the right hand panel where we have been selecting actions, click the Properties tab to open the Action Properties panel

This can also be viewed by right-clicking on the action. However, we will be switching to other applications and the context version will disappear and need to be reopened each time

  1. Click in the value area of the URL property to select it

  1. Click the small grey square to the right of the URL value to open a window with a larger text area

 

 

  1. Enter the URL value into the editor window.

    your_base_connectapi_url?agentId={Agents[1].UserName}&jwt=your_jwt_value&event=On%20Chat%20End&rnIncidentId={WorkItemID}&mediaType=Chat

     

    Replace your_base_ConnectAPI_url depending on your cloud environment with:
    North America - https://connect.openmethodscloud.com/api/sendmessage/CTI
    GDPR - https://connect.gdpr.openmethodscloud.com/api/sendmessage/CTI

    Replace your_jwt_value with the token string obtain at the beginning of this process. The values in ‘{' and '}’ will automatically be populated by InContact when the script runs.

    Click the OK button to save your changes to the URL property value.

  1. Click on the AgentID value area and enter {__agentId}. There are 2 underscores in the value.

  1. Click the Save button on the toolbar to save the changes to the script

 

Add label

Related content

Popflow Only Integration
Popflow Only Integration
Read with this
InContact Voice
InContact Voice
More like this
InContact Email
InContact Email
More like this
Genesys Cloud Email
Genesys Cloud Email
More like this
Cisco Webex CC
Cisco Webex CC
More like this

This document may contain confidential and/or privileged information belonging to OpenMethods. If you are not the intended recipient (or have received this document in error) please notify the sender immediately and destroy this document. Any unauthorized copying, disclosure, or distribution of the material in this document is strictly forbidden.