Integrate Autopilot (Amelia) (Text Virtual Agents)

The steps below describe the general process of setting up a CXone Mpower Autopilot (Amelia) text virtual agent. If you need help completing this process, contact your Account Representative.

To set up Autopilot (Amelia) as a voice virtual agent, contact your Account Representative. Setup for voice virtual agents happens outside of Virtual Agent Hub. It also involves custom scripting that requires additional assistance. The steps on this page apply to text virtual agents only.

Prerequisites

Before setting up Autopilot (Amelia), you must have: 

Prepare Your Autopilot (Amelia) Virtual Agent

Contact your Account Representative for assistance when working with CXone Mpower Experience Optimization (XO).

  1. Collect interaction transcriptions from your organization.

  2. Feed those transcriptions into XO. XO analyzes those transcriptions. It identifies utterancesClosed State that allows an agent to complete work requirements after finishing an interaction and intentsClosed The meaning or purpose behind what a contact says/types; what the contact wants to communicate or accomplish.

  3. Import the data from XO into Autopilot (Amelia). Autopilot (Amelia) uses those utterances and intents to build conversation flows.

  4. Review the custom scripting guidelines for Autopilot (Amelia).

  5. Follow the remaining steps on this page to integrate Autopilot (Amelia).

Create a Script

Required permissions: Studio Script View, Create/Edit

You need at least one Studio script to route interactions to your virtual agent. Follow the .

You can learn more about Studio scripting in the Fundamentals and Technical Reference Guide sections of the online help.

When your virtual agent is ready to go into production, assign the script to one or more points of contact.

Add an App to Virtual Agent Hub

Required permissions: Automation & AI > Launch Automation & AI Studio Script View, Create/Edit

Adding a configuration app to Virtual Agent Hub establishes the connection between CXone Mpower and your virtual agent provider.

  1. In CXone Mpower, click the app selector and select Other > Automation & AI and then click Virtual Agent Hub. You can also double-click the virtual agent action in your Studio script to launch Virtual Agent Hub.
  2. Click Add Bot.
  3. Enter a Virtual Agent (Bot) Name and click CXone Mpower Autopilot Amelia in the list of virtual agent providers.

  4. Click Next.

  5. Complete the fields in the configuration form and click Next. You can find details about this form in the Configuration Page Details section on this page.

  6. Click Next.

  7. If you're setting up a text virtual agent, select Text Only (No Voice Support) on the Voice page. If you're setting up a voice virtual agent, contact your Account Representative.

  8. Click Next.

  9. On the Transcript page, select the option for whether you want the conversation transcript and intent information captured. If this tab is not available, the feature is not enabled for your tenantClosed High-level organizational grouping used to manage technical support, billing, and global settings for your CXone Mpower environment. Contact your Account Representative for more information about this feature. This option is only available for text virtual agents. It's not supported for voice integrations that use a SIPClosed Protocol used for signaling and controlling multimedia communication sessions such as voice and video calls. backchannel connection.

  10. Click Next.

  11. On the Test + Add page, you can test your bot's connection by sending voice or text prompts. If your test messages don't work, click Back to return to the Configuration page and verify the settings.

  12. Click Add.

Autopilot (Amelia) Configuration Page Details

Use the information in the following table when completing the Configuration page. You see this page when adding an app in Virtual Agent Hub

Assign the Autopilot (Amelia) App to a Studio Action

Required permissions: Studio Script View, Create/Edit

When the virtual agentClosed The meaning or purpose behind what a contact says/types; what the contact wants to communicate or accomplish app is set up and configured in Virtual Agent Hub, you need to assign it to the virtual agent action in your script. This connects the action and the script to your virtual agent provider.

  1. In Studio, open the script you want to modify.
  2. Locate the virtual agent action in the script and double-click it to open Virtual Agent Hub.

  3. In the left column, locate the virtual agent that you want to assign to the action and click the checkmark An icon of a circle with a checkmark inside. next to it.

    An alternative to using the checkmark is to create a variable in your Studio script. Use the variable to pass the virtual agent app name into the Virtual Agent ID property of the Virtual Agent Hub action you're using.

  4. Click Close.

Test Your Virtual Agent

Required permissions: Automation & AI > Launch Automation & AI Studio Script View, Create/Edit

You can test many aspects of your virtual agent to make sure everything works as intended. You can run tests from the virtual agent app's properties page in Virtual Agent Hub. When testing, you can: 

  • Verify that the virtual agent app is correctly configured to communicate with the virtual agent provider.
  • Add custom payload JSON to test the virtual agent's handling of custom payload data.
  • Trigger a welcome intent event to test how the virtual agent begins a conversation.
  • Trigger a custom intent event to test any custom events you've created for your virtual agent.
  • Trigger a timeout event to test how the virtual agent responds when the contact times out.

The following image is an example of the properties page for a virtual agent app in Virtual Agent Hub. It shows the Configuration and Voice tabs and the Test pane.

  1. In CXone Mpower, click the app selector and select Other > Automation & AI and then click Virtual Agent Hub. You can also double-click the virtual agent action in your Studio script to launch Virtual Agent Hub.
  2. Click to select the configuration app for the virtual agent you want to test from the list on the left.
  3. In the Test pane, enter a test message in the Type a message field and press Enter to send it.

  4. Click Start with welcome intent to start a test conversation from the beginning. The virtual agent responds with its default welcome message. You can enter test messages.
  5. Click More Options An icon with three dots stacked vertically. to test other aspects of your virtual agent.

  6. Click Reset to start your test again.
  7. If you need to make changes based on the results of your testing, you can: 

    • Modify the Studio scripts for the virtual agent.
    • Modify the configuration settings in the virtual agent's app in Virtual Agent Hub.
    • Modify the virtual agent's configuration settings in the provider's console. Click the large square button on the app properties page in Virtual Agent Hub. The example at the beginning of this section shows the Google Dialogflow CX app with the provider button. It has the An icon that has a square with an arrow overlaid on top of it. The arrow points from the center of the square to the top right corner of the square. icon on it to indicate that the link opens an external site.
  8. Test the virtual agent thoroughly after each change to your scripts or any configuration settings.
  9. When you're finished testing, click Close.