How do I remove contacts from a callback queue in Amazon Connect?

1

I want to remove all contacts in my Amazon Connect contact center's callback queue. How do I do that?

AWS
專家
已提問 3 年前檢視次數 1986 次
4 個答案
2

If you know the ContactId (which you can save via a process of writing the ContactId to a location like DynamoDB) then use this API call

https://docs.aws.amazon.com/connect/latest/APIReference/API_StopContact.html

You can then create a process that reads from DynamoDB and stops the contacts. Keep in mind API limits, so build into this back off timers etc.

DanBloy
已回答 3 年前
  • Pretty sure the StopContact function wont work. When a contact is transferred to a callback queue, a new Contact is created, with an initiationMethod of "Callback". The very first thing on the reference above says the following:

    Ends the specified contact. This call does not work for the following initiation methods: CALLBACK DISCONNECT TRANSFER QUEUE_TRANSFER

    I have been trying to find a way to do this for some time now, due to customers calling back a higher priority line and being answered by agents before they receive their callback.

    I wish AWS would enable a method of stopping a Callback contact, purely to help with wait times being blown out from this specific circumstance

  • Hi Vito! This ability to use the StopContact API for callbacks was released earlier this month. You can now use the StopContact API to remove callbacks from a queue if you have the Contact ID.

  • In order to use the StopContact API to remove a callbacks from the queue, I need to know the contact identifier for the queued callback. How do I get the contact identifier for the queued callback?

1

There's no way to manually remove specific contacts from a callback queue in Amazon Connect. You can either answer the callback contact, or wait until Amazon Connect removes the contact automatically after 7 to 14 days.

To remove all contacts from a callback queue, you can do any of the following:

Note: These are the only ways you can remove all contacts from a callback queue.

Important: If you choose option 3, keep in mind the following:

Deactivating the callback queue doesn't remove the contacts from the queue. Deactivating the queue only prevents new contacts from being added to the queue.

If you don't change the Set working queue parameter in the associated contact flow to the new queue, then Amazon Connect doesn't create new callback contacts.

Any APIs that use the previous queue's Amazon Resource Name (ARN) must be updated with the new callback queue's ARN. For example: the GetMetricData action.

For more information, see Set up routing in the Amazon Connect Administrator Guide.

AWS
專家
已回答 3 年前
AWS
專家
已審閱 3 年前
0
profile pictureAWS
已回答 6 個月前
0

Record every callback requests into the DynamoDB along with the callback contact ID. So you can go back and use the StopContact API to drop those requests.

profile picture
Shiva
已回答 4 個月前

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

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

回答問題指南