Set up queued callback - Amazon Connect

Set up queued callback

You can create contact flows that provide the ability for customers to leave their phone number and get a callback from an agent.

Here's how queued callback works:

  1. When a customer leaves their number it's put in a queue and then routed to the next available agent.

  2. After an agent accepts the callback in the CCP, Amazon Connect calls the customer.

    If no agents are available to work on callbacks, the callbacks can stay in queue for at least 7 days and up to 14 days after they are created before Amazon Connect automatically removes them.

    Tip

    There's no way to manually remove a callback from the queue. You can either answer them, or wait until Amazon Connect automatically removes them.

  3. If there is no answer when the Amazon Connect calls the customer, it retries based on the number of times you've specified.

  4. If the call goes to voicemail, it's considered connected.

  5. If the customer calls again while in the callback queue, it's treated as a new call and will be handled as usual. To avoid duplicate callback requests in a callback queue, see this blog: Preventing duplicate callback requests in Amazon Connect-->.

How queued callbacks affect and queue limits

  • Queued callbacks count towards the queue size limit, but they are routed to the error branch. For example, if you have a queue that handles callbacks and incoming calls, and that queue reaches the size limit:

    • The next callback is routed to the error branch.

    • The next incoming call gets a reorder tone (also known as a fast busy tone), which indicates no transmission path to the called number is available.

  • Consider setting up your queued callbacks to be lower priority than your queue for incoming calls. This way, your agents only work on queued callbacks when the incoming call volume is low.

Steps to set up queued callback

Use the steps provided in the following overview to set up queued callback.

  • Set up a queue specifically for callbacks. In your real-time metrics reports, you can look at that queue and see how many customers are waiting for callbacks.

  • Set up caller ID. When setting your callback queue, specify the caller ID name and phone number that appears to customers when you call back.

  • Add the callback queue to a routing profile. Set this up so that contacts waiting for a call are routed to agents.

  • Create a contact flow for queued callbacks. You offer the option for a callback to the customer.

  • Associate a phone number with the inbound contact flow.

  • (Optional) Create an outbound whisper flow. When a queued call is placed, the customer hears this message after they pick up and before they connect to the agent. For example, "Hello, this is your scheduled callback..."

  • (Optional) Create an agent whisper flow. This is what the agent hears right after they accept the contact, before they are joined to the customer. For example, "You're about to be connected to Customer John, who requested a refund for..."

Create a contact flow for queued callbacks

To see what a flow looks like with queued callback, in new Amazon Connect instances see Sample queue configurations. In previous instances, see Sample queued callback.

The following procedure shows how to:

  • Request a callback number from a customer.

  • Store the callback number in an attribute.

  • Reference the attribute in a Set callback number block to set the number to dial the customer.

  • Transfer the customer to the callback queue.

At the basic level, here's what this queued callback flow looks like, without any of the alternative branches or error handling configured.

Following are the steps to create this flow.

To create a contact flow for queued callbacks

  1. In Amazon Connect, choose Routing, Contact flows.

  2. Select an existing contact flow, or choose Create contact flow to create a new one.

    Tip

    You can create this flow using different contact flow types: Customer queue flow, Transfer to agent, Transfer to queue.

  3. Add a Get customer input block.

  4. Configure the block to prompt the customer for a callback:

  5. At the bottom of the block, choose Add another condition, and add options 1 and 2.

  6. Add a Store customer input block.

  7. Configure the block to prompt customers for their callback number, such as “Please enter your phone number.”

  8. In the Customer input section, select Phone number, and then choose one of the following:

    • Local format: Your customers are calling from phone numbers that are in the same country as the AWS Region where you created your Amazon Connect instance.

    • International format/Enforce E.164: Your customers are calling from phone numbers in countries or regions other than the one where you created your instance.

  9. Add a Set callback number block to your contact flow.

  10. Configure the block to set Type to System. For Attribute, choose Store customer input. This attribute stores the customer's phone number.

  11. Add a Transfer to queue block.

  12. In the Transfer to queue block, configure the Transfer to callback queue tab as shown in the following image:

    The following properties are available:

    • Initial delay: Specify how much time has to pass between a callback contact being initiated in the contact flow, and the customer is put in queue for the next available agent. In the previous example, the time is 99 seconds.

    • Maximum number of retries: If this is set to 2, then Amazon Connect tries to call back the customer a maximum of three times: the initial callback, and two retries.

      A retry only happens if it rings but there's no answer. If the callback goes to voicemail, it's considered connected and Amazon Connect does not retry again.

      Tip

      We strongly recommend that you double-check the number entered in Maximum number of retries. If you accidentally enter a high number, such as 20, it's going to result in unnecessary work for the agent and too many calls for the customer.

    • Minimum time between attempts: If the customer doesn't answer the phone, this is how long to wait until trying again. In the previous example, we wait 10 minutes between attempts.

  13. In the Optional parameters section, choose Set working queue if you want to transfer the contact to a queue that you set up specifically for callbacks.

    Creating a queue just for callbacks lets you view in your real-time metrics reports how many customers are waiting for callbacks.

    If you don't set a working queue, Amazon Connect uses the queue that was set previously in the flow.

  14. To save and test this flow, configure the other branches and add error handling. To see an example of how this is done, see Sample queue configurations. For previous instances, see Sample queued callback.

  15. For information about how callbacks appear in real-time metrics reports and contact records, see About queued callbacks in metrics.

Learn more about queued callbacks

See the following topics to learn more about queued callbacks: