/
InContact Email

InContact Email

 

 

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

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

  1. Single click the Rest Api Action

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

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

  1. Right-click on the PopURL action to open the configuration panel. Click on the Command value area and select MakeRestRequest

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

    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

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

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

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

  1. Single click the Rest Api 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 Onrelease action and single click to place the Rest Api action onto the canvas

  1. Connect Onrelease to the Rest Api action

  1. Enter the URL value into the editor window.

    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

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

 

Add label

Related content

InContact Chat
InContact Chat
More like this
InContact Voice
InContact Voice
More like this
Genesys Cloud Email
Genesys Cloud Email
More like this
Cisco Webex CC
Cisco Webex CC
More like this
Obtaining OpenMethods Token
Obtaining OpenMethods Token
More like this
Cisco Unified Contact Center
Cisco Unified Contact Center
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.