Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
stylenone

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

Email 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 New button on the menu bar to open the New Script dialog window

  1. Select Work Item for the script type and click the OK button

  1. Click to expand the Standard section in the tools panel

  1. Single click the Begin 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 Begin action onto the canvas

  1. Select Reqagent from the tool panel and place it on the main canvas

  1. Hover over the Begin action until the small arrow appears. Click and drag the arrow to the Reqagent action to connect the actions together

  1. Right-click the Reqagent action to open its configuration window. Configure this to send the interaction to the appropriate skill

Info

More advanced routing logic is covered in your switch documentation and is outside the scope of this guide

  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

Image RemovedImage Added
  1. Single click the PopURL action

Image Removed
  1. Rest Api Action

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

Image RemovedImage Added
  1. Connect the Agent List and PopURL Rest Api activities. Select Success from the list and click OK

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

Image Removed
  1. select MakeRestRequest

Image Added
  1. Click into the value area for URL ServiceAddress 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.

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


    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. If this is the first time saving, you will need to provide a name and click the OK button

Note

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. The on end flow depends on having implemented Email Accept to function properly.

  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

Image RemovedImage Added
  1. Locate the script for inbound voice calls emails 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:

Image Removed

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

Image RemovedImage Added
  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

Image RemovedImage Added
  1. Move your cursor to the main canvas area of the script and single click to place the Onanswer Onrelease 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

Image RemovedImage Added
  1. Single click the PopURL Rest Api action in the tools panel. This will place the action on your cursor for the next step

Image RemovedImage Added
  1. Move your cursor to the main canvas area of the script near the Onrlease Onrelease action and single click to place the PopURL Rest Api action onto the canvas

Image Removed

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

Image Removed

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

Info

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

Image Removed

  1. Click the PopURL action to select it

Image Removed
  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

Info

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

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

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

Image Removed

Image Added
  1. Connect Onrelease to the Rest Api action

Image Added
  1. Enter the URL value into the editor window.

    Code Block
    your_base_connectapi_url?agentId={
__agentId
  1. Agents[1].UserName}&jwt=your_jwt_value&event=
On%20End
  1. Email%20Accept&
ANI
  1. rnIncidentId={
ANI
  1. WorkItemID}&mediaType=Email


    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.

Please note that there are 2 underscores before __agentId

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

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

Note

InContact Central & Hub require a slightly different method of creating Agents in Config Server. Instead putting the username of the agent in the Config Server Username field, you need to put the InContact User ID (which is a number) in the Username field for Popflow only to correctly identify the agent to receive the screen pop.

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

Note

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