Flow block: Set disconnect flow - Amazon Connect

Flow block: Set disconnect flow

Description

  • Specifies which flow to run after a disconnect event during a contact.

    A disconnect event is when:

    • A chat, or task is disconnected.

    • A task is disconnected as a result of a flow action.

    • A task expires. The task is automatically disconnected if it is not completed in 7 days.

    When the disconnect event occurs, the corresponding flow runs.

  • Here are examples of when you might use this block:

    • Run post-contact surveys. For example, the agent asks the customer to remain on the line for a post-call survey. The agent hangs up and a disconnect flow is run. In the disconnect flow, the customer is asked a set of questions using the Get customer input block. Their answers are uploaded using an Invoke AWS Lambda function block to an external customer feedback database. The customer is thanked and disconnected.

      For more information about creating post-contact surveys, see this blog: Easily create and visualize post chat surveys with Amazon Connect and Amazon Lex. And check out this workshop: Building a contact survey solution for Amazon Connect.

    • In a chat scenario, if a customer stops responding to the chat, use this block to decide whether to run the disconnect flow and call a Wait block, or end the conversation.

    • In task scenarios where a task may not be completed in 7 days, use this block to run a disconnect flow to determine whether the task should be re-queued, or completed/disconnected by a flow action.

Supported channels

The following table lists how this block routes a contact who is using the specified channel.

Channel Supported?

Voice

Yes

Chat

Yes

Task

Yes

Flow types

You can use this block in the following flow types:

  • All flows

Properties

The following image shows the Properties page of the Set disconnect flow block.

The properties page of the set disconnect flow block.

Configured block

The following image shows an example of what this block looks like when it is configured. It has the following branches: Success and Error.

A configured set disconnect flow block.

Sample flows

Amazon Connect includes a set of sample flows. For instructions that explain how to access the sample flows in the flow designer, see Sample flows. Following are topics that describe the sample flows which include this block.

Scenarios

See these topics for scenarios that use this block: