Integrate ConnectLingua

ConnectLingua relies on custom scripting in Studio. To set up ConnectLingua, you must use your own scripting expertise or request assistance from your Account Representative. Work with your Account Representative to integrate ConnectLingua into your production scripts.

This page leads you through setting up a demo script. It helps you understand the key scripting requirements and lets you test the ConnectLingua functionality. This helps you understand how the script works and how you can integrate the same functionality into your own scripts.

Prerequisites

Before working through this page, work with your Account Representative to obtain the following:

Prepare the following in CXone Mpower:

  • A point of contact that will use the ConnectLingua demo script. This lets you make calls to test the demo script and explore the ConnectLingua interface.

You may also want to review the list of available ConnectLingua languages .

Configure the ConnectLingua Demo Script

Required Permissions: Studio Scripts Create/Edit, Studio Scripts IMP/EXP, File Browser Create

  1. In Studio, import the ConnectLingua script provided by your Account Representative.

  2. Save the script in a folder within your root folder. Do not save the script in a further sub-folder or sub-directory; this can cause undesired behavior.

  3. In the GenerateAccessToken action, add the authentication URL you obtained from your Account Representative as the value for "url".

  4. Save the script.

  5. Add the audio files provided by your Account Representative:

    1. Create a folder named ConnectLingua.

    2. Add the comfort sequence WAV file to this folder.

    3. Create two subfolders named DynamicAudio and QuickReplies. The DynamicAudio folder automatically stores the translated agent and contactClosed The person interacting with an agent, IVR, or bot in your contact center. audio segments.

    4. Add the quick reply files to the QuickReplies folder.

  6. Double-click the Agent Assist action and configure its settings:

    1. Click Add Agent Assist App.

    2. Give the new app a descriptive name.

    3. Select Custom Agent Assist Endpoints then click Next.

    4. Complete the APP URL, Audio Relay Endpoint, APP TITLE, and PARTICIPANTS fields.

    5. Click Create.

    6. If you want to ensure you configured it correctly, double-click the Agent Assist action. The Custom Agent Assist Endpoints app displays under the General category along with a green checkmark. You can also right click the Agent Assist action to view its properties. The assistLaunchConfigName should show the name you gave the agent assist app. Also, scriptParams should have {scriptPayload.asJson()} as its value.

  7. Save the script.

  8. In CXone Mpower, navigate to the point of contact you set up as a prerequisite. In its settings, select the demo script that you just configured.

After configuring the script and assigning it to the point of contact, you can make test calls.