Setting Up AWS Connect with Aisera

This document describes how to add an existing AWS Connect instance to an Aisera application/bot as a Live Agent.

Pre-requisites

  1. You have a working AWS Connect instance, and have set up flows and Agents.

  2. You have the information for your customer’s integration user account. This user account needs to have the correct permission and authorization to access the AWS Connect instance.

    This account needs the following IAM permissions that are required for a user to Integrate with an external Amazon Connect Instance.

{
	"Version": "2012-10-17",
	"Statement": [
		{
			"Effect": "Allow",
			"Action": [
				"s3:ListAllMyBuckets",
				"connect:StartChatContact",
				"s3:GetBucketLocation"
			],
			"Resource": "*"
		},
		{
			"Effect": "Allow",
			"Action": "s3:GetBucketAcl",
			"Resource": "arn:aws:s3:::amazon-connect-*"
		}
	]
}

You need to have the following credentials for this integration user. A. One of the following options for the AWS Connect Instance: - AWS Access Key - AWS Access Key, Secret Key

B. The region, in which this AWS Connect instance is running

C. Contact flow ID of the AWS Connect instance

D. Instance ID of the AWS Connect instance

Setup Steps

  1. Use the Settings => Integrations => + New Integration command in the Aisera Administration application (Admin UI) to create an integration for AWS Connect.

  1. Add Basic authorization for your integration.

The following table describes the parameters for the fields above.

Field

Description

Notes

Name

The name of this integration

Endpoint

The URL for your AWS Connect instance

Username

The username for the account that has access to AWS Connect

If this integration is being used for a Live Agent connection, an actual name is not required. Just enter in a random string, such as aaa.

If this integration is also used for user-specific tasks, like user learning, then enter the actual username.

Password

The password for the account that has access to AWS Connect

If this integration is being used for a Live Agent connection, an actual password is not required. Just enter in a random string, such as aaa.

If this integration is also used for user-specific tasks, like user learning, then enter the actual password.

Access Key

The AWS Access Key for the AWS Connect instance, as described in the pre-requisites

Secret Key

The AWS Secret Key that provides access to the AWS Connect instance, as described in the pre-requisites.

Region

The region where the AWS Connect instance is running, as described in the pre-requisites.

Session Name

The name of the instance session that you use to monitor the logs for AWS Connect..

Add the Live Agent to your Aisera App/Bot

Use the following procedure to add your Live Agent configuration to your Aisera application or bot.

  1. Use the Settings >AiseraGPT command to see all of your Aisera applications/bots, and select the one to which you want to add a Live Agent.

    When you select and open your Aisera application/bot, you see the Details (summary) page for your application or bot.

  2. Click +Add Live Agent if you don’t have an existing Live Agent attached to your application or bot.

    - or -

    Click Edit Live Agent if you already have a live agent integration for your application or bot.

  3. Select your AmazonConnect integration, to add this connection to your application or bot.

  4. Add the configuration details for your AWS Connect instance.

The following table provides a description of these parameters.

Field

Description

Contact Flow ID

The AWS Connect Contact Flow ID, as mentioned in the pre-requisites.

AWS Instance ID

The Instance ID mentioned in the pre-requisites.

Attachments

Leave this value as the default of Not Supported.

Advanced Features

The following advanced features are supported for AWS Connect with the Aisera platform.

Add Support for Multiple Queues (multiple AWS Contact Flows) - Optional

In addition to the default contact id, discussed in the Setup steps above, the Aisera platform supports a Pre-process Live Agent Workflow, that allows you to configure multiple contact IDs that the application or bot can select based on the request made by a user.

To use multiple contact flows:

  1. Select AI Automation > AI Workflow Studio in the Aisera Administration application (Admin UI).

  2. Choose the Preprocess Live Agent workflow.

  3. Open the workflow and add a new output variable called contactFlowId and specify that this field contains a String.

  1. Add the logic of selecting a contactFlowId to the Preprocess Live Agent workflow, using the Workflow Studio canvas.

  1. Edit the User Input for the new section of the Workflow.

  1. Set the Output Variable as shown below.

Last updated