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?

已提問 2 個月前檢視次數 201 次
2 個答案
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
已回答 2 個月前
  • 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
已接受的答案
  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
專家
已回答 2 個月前
profile picture
專家
已審閱 25 天前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南