How to Transfer a Contact to Another Queue Using Amazon Connect API?

1

I'm working on integrating Amazon Connect into our contact center solution, and I need to implement functionality for transferring contacts from one queue to another programmatically. I've been exploring the Amazon Connect API documentation, but I'm having trouble finding clear API on which we can transfer contacts in queue to another

Could someone please provide insights or examples on how to transfer a contact to another Queue using the Amazon Connect API?

asked a month ago185 views
2 Answers
2

Hi Nithish,

You cannot perform this action via the Connect API. You need to perform this via the Streams API

https://github.com/amazon-connect/amazon-connect-streams

Here is an AWS blog to assist. https://aws.amazon.com/blogs/contact-center/making-cold-transfers-using-the-amazon-connect-streams-api/

Thx Dan

DanB
answered a month ago
  • Hi DanB,

    In the provided solution, the focus is on transferring a answered contact from agent to agent, which doesn't address the specific requirement of transferring a contact from one queue to another queue. The ultimate aim of the question is to transfer a contact that is already in a queue to a different queue.

    Thanks Nithish

1
Accepted Answer
  1. Your main contact flow is responsible for handling incoming contacts in "Queue1". To facilitate transfers, this flow should include logic to check for the presence of the TransferContactFlow attribute in a contact's attributes.

    Add the TransferContactFlow attribute to the contacts you wish to transfer from "Queue1" to another queue.

  2. Use the UpdateContactAttributes API to assign the TransferContactFlow attribute to a contact. The value of this attribute should be the ARN of the transfer contact flow, which directs the contact to "Queue2".

    The main contact flow will monitor the TransferContactFlow attribute of each contact. Contacts with this attribute will be transferred to the queue associated with the specified ARN in the attribute.

  3. When a contact possesses the TransferContactFlow attribute, the main contact flow should execute a transfer to the flow indicated by this attribute. This is typically achieved using a "Check Contact Attributes" block, followed by a "Transfer to Flow" block within the contact flow.

  4. If necessary, you can incorporate an AWS Lambda function into your contact flow for additional logic or integration with external systems, either before or after the contact transfer.

Key Resources:

Note: This approach is based on theoretical knowledge and documentation. Please validate its effectiveness in your specific environment and let me know if any adjustments are required.

profile picture
EXPERT
answered a month ago
profile picture
EXPERT
reviewed 10 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions