Implement a Custom Agent Assist Integration

Verify the Agent Assist Application

Before beginning the implementation of the custom agent assist integration, verify that your agent assist application is set up and configured. Make sure it has access to the information it needs and that it works as expected.

Set Up the Proxy Tunnel Endpoint

To complete this task, you must put the proxy tunnel code in place. Initiate and expose the endpoint as required. The exact steps and commands required to perform this step will be different for every integration.

Complete Configuration in CXone

Required permissions: Contact Handling > ACD > Points of Contact > Edit, Create; Global > User Settings > Skills > Edit, Create; Global > User Settings > Campaigns > Edit, Create; Global > User Settings > Users > Edit, Create;

If you determined during the planning phase that your integration requires new ACD skillsClosed Used to automate delivery of interactions based on agent skills, abilities, and knowledge or points of contactClosed The entry point that an inbound contact uses to initiate an interaction, such as a phone number or email address., you need to create them now. You may need to: 

  • Create a campaign or choose an existing campaign to use.
  • Create an ACD skill for voice or ACD chat.
  • Assign agents to the ACD skill. The agent assist application provides assistance for all agents assigned to the skill.
  • Create or modify a point of contact. Choose the ACD skill and the script you created for your custom agent assist integration.

If you use a naming convention as version control with your Studio scripts, be sure to save your script with its production name before assigning it to the point of contact.

Set Up Required Studio Scripts

Required permissions: Applications > Studio > Scripts > Create/Edit, Import/Export Debug, Lock Override; Applications > Studio > Prompts > Record; Applications > Studio > File Browser > Edit, Create

Ensure that all required Studio scripts are in your production environment. You may need to:

  • Export the scripts from one environment and import them into another. You may want to create a folder specifically for scripts related to your custom integration.
  • Save the scripts with new names. If you use naming conventions for version management, you need to change the scripts' names to move them from test to production. Studio doesn't support changing script names. To rename them, you must use the File > Save As option.

Ensure that every instance of the Agent Assist action in your scripts is correctly set up. This means that: 

  • The Custom Agent Assist Endpoint app has been created in Agent Assist Hub.
  • Every instance of the Agent Assist action in your scripts has the Custom Agent Assist Endpoint app assigned to it.
  • The connection between the script and the agent assist application works as expected after you move the script into production. Perform some testing to verify the connection.

Configure the Connection to the Agent Assist Application

Required permissions: Applications > Studio > Scripts > Create/Edit

The connection between your agent assist application and CXone is the Agent Assist action in your Studio script. You configure the action with the information needed so that the two systems can communicate.

You can include more than one Agent Assist action in your script, if needed. Each Agent Assist action creates a connection to the websocket and sends the conversation data.

You only need to complete this task once, even if you have more than one Agent Assist action in your scripts. If you have multiple Agent Assist actions, you must assign the Custom Agent Assist Endpoint app to each one. You can use the same app for more than one action. The following steps describe how to add a Custom Agent Assist Endpoint app.

  1. In Studio, open the script that contains the Agent Assist action.
  2. Double-click the action to open Agent Assist Hub, then click Add Agent Assist App.
  3. Enter an Agent Assist App Name and select Custom Agent Assist Endpoints as the App Type.
  4. Click Next.
  5. Use this information when you complete the Configuration page of the Create New Agent Assistant wizard:

  6. Click Create.
  7. On the Agent Assist Hub page, click the selection icon An icon image of a circle with a checkmark inside it. next to the app you just added.
  8. Click Yes when prompted to confirm that you want to assign the selected app to the selected action in your script.

Assign the Custom Endpoint to a Studio Action

Required permissions: Applications > Studio > Scripts > Create/Edit

If you haven't done so already, you need to assign the Custom Agent Assist EndpointsExpert Assist app to the Agent Assist actionClosed Performs a process within a Studio script, such as collecting customer data, playing a message or music, or routing a contact to an agent. in your Studio script.

  1. In Studio, open the script you want to use.
  2. If you haven't done so already, add the Agent Assist action to the correct location in your script.

  3. Double-click the Agent Assist action to open Agent Assist Hub.

  4. In the left column, click the checkmark in a circle A light gray checkmark inside a light gray circle. next to the agent assist application or profile you want to assign to this script.
  5. Click Close.

Test the Script from the Point of Contact

Required permissions: Contact Handling > ACD > Points of Contact > View, Edit

When the point of contactClosed The entry point that an inbound contact uses to initiate an interaction, such as a phone number or email address. is set up, you need to test your script starting from the point of contact. You can use script tracing in Studio to check on the effectiveness of your script and identify any issues that arise. To resolve issues, you may need CXone log files. Ask your CXone Account Representative for more information.

  1. In Studio, open the script that the point of contact calls.
  2. Click Debug > Capture ScriptNext Instance Only. In Studio, the Trace Output window opens. It displays the progress of the script as you simulate an interaction.
  3. Open a supported agent application and set your agent state to Available. If testing a voice integration, connect the application to CXone. For example, in MAX, click Connect Agent Leg.
  4. Initiate an interaction. How you initiate it will vary by channelClosed A way for contacts to interact with agents or bots. A channel can be voice, email, chat, social media, and so on.. For example:

    • For a voice channel, call the phone number assigned to the point of contact.
    • For an ACD chat channel, visit the web page with the chat option and start a chat. You can also open the page in CXone for the point of contact you're testing and copy the URL from the Point of Contact URL field. Paste the URL into a browser window and press ENTER, then send a message using the chat interface that appears.
  5. Create an imaginary conversation, supplying both sides of the dialogue. Use keywords and phrases you know will trigger the agent assist application to respond. To simulate a voice conversation, you may need help from a second person.
  6. In Studio, click an action in the main pane in the Trace Output window.

    • The Variables tab shows all of the variables that exist in the script when the selected action has completed. It also shows the value that each variable holds at that point in the script.
    • The Properties tab shows you the properties for the selected action. You can use this to verify the action's current configuration.
  7. Return to the script and make changes, if necessary.
  8. Select an action and press F1 on your keyboard to access online help for that action. The online help page for each action describes the properties and other information about using the action in a script.
  9. If you want to start over, click End Chat, refresh the browser window, and repeat this process, starting with step 2.