Skip to content

Amazon Connect

The Amazon Connect integration enables OmniBots to escalate conversations to live agents in your Amazon Connect contact center. Conversation context is passed as contact attributes, giving agents full visibility into the bot interaction before they pick up the call or chat.

Prerequisites

  • An AWS account with an Amazon Connect instance provisioned
  • An IAM user or role with permissions to the Connect API
  • At least one routing profile and queue configured in your Connect instance
  • Admin access to OmniBots Settings > Integrations

Configuring the Integration

1. Create IAM Credentials

Create an IAM user or role with the following permissions:

PermissionPurpose
connect:StartChatContactInitiate chat-based escalations
connect:StartOutboundVoiceContactInitiate voice-based escalations
connect:DescribeQueueFetch available queues for mapping
connect:DescribeContactFlowValidate contact flow references
connect:GetContactAttributesRead contact attributes after handoff

2. Add the Integration in OmniBots

Go to Settings > Integrations > Add Integration and select Amazon Connect:

FieldDescription
Instance IDYour Amazon Connect instance ID (found in the instance ARN)
RegionAWS region where your instance is hosted (e.g., us-east-1)
Access Key IDIAM access key for API authentication
Secret Access KeyIAM secret access key
Contact Flow IDDefault contact flow to use for escalations

Click Test Connection to verify that OmniBots can reach your Connect instance and list queues.

imageOmniBots Amazon Connect integration configuration form showing Instance ID, Region, Access Key ID, Secret Access Key, and Contact Flow ID fields with Test Connection button
Amazon Connect integration configuration

TIP

For production deployments, use an IAM role with temporary credentials instead of long-lived access keys. Configure the role ARN in the integration settings and OmniBots will assume the role using STS.

3. Configure Contact Flow and Queue Mapping

Amazon Connect uses contact flows to control how interactions are handled after escalation. Map escalation categories to specific contact flows and queues:

Mapping FieldDescription
Default Contact FlowFlow used when no specific mapping matches
Flow MappingsMap intent or category values to specific contact flows
Queue MappingsMap categories to specific Connect queues

Handoff Node Configuration

In the flow builder, add a Handoff node and configure it for Amazon Connect:

  1. Select your Amazon Connect integration from the CCaaS Integration dropdown
  2. Choose the target queue or contact flow (or use a variable)
  3. Define contact attributes to pass to the agent
  4. Set the Timeout for agent availability before following the failure path

Contact Attributes Passed to Agents

OmniBots sets the following as Amazon Connect contact attributes:

Attribute KeyDescription
ob_transcriptFull conversation transcript between user and bot
ob_customer_nameCustomer name if collected or identified
ob_intentDetected intent or escalation reason
ob_channelOriginating channel (web, sms, whatsapp, voice)
ob_session_idOmniBots session identifier for traceability
Custom keysAny flow variables marked for handoff in the node config

WARNING

Amazon Connect contact attributes have a 32 KB size limit. If the conversation transcript exceeds this limit, it is truncated to the most recent messages. The full transcript remains available in the OmniBots conversation log.

imageAmazon Connect contact flow editor showing a flow with a bot escalation point that transfers to a queue with OmniBots contact attributes
Contact flow with bot escalation point

Testing the Escalation

  1. Publish your bot with a flow that includes the Handoff node
  2. Start a conversation and trigger the escalation path
  3. Verify the contact appears in the Amazon Connect agent dashboard
  4. Confirm contact attributes display the conversation context
  5. Check the Connect contact flow logs if the escalation does not arrive

Troubleshooting

IssueResolution
Connection test failsVerify IAM credentials and ensure the Connect instance ID and region are correct
Queues not loadingCheck that the IAM user has connect:DescribeQueue permission
Contact not createdEnsure the contact flow is published and the queue has agents in a routable state
Attributes missingVerify the contact flow references the ob_* user-defined attributes
Timeout errorsCheck network connectivity between OmniBots and the AWS region

OmniBots AI Bot Platform