Newer Version Available
Flows for Amazon Connect
Each Service Cloud Voice flow is configured in Amazon Connect using a flow map made up of blocks, beginning with an Entry block and ending with a Transfer to flow or Disconnect block. To learn more about Amazon flows, see the Amazon Connect Administrator Guide.
Salesforce provides several out-of-the box sample flows for Amazon Connect you can customize for your Service Cloud Voice contact center environment. For example, the Sample SCV Inbound Flow is used to route incoming voice calls. When a customer calls the contact center, the call triggers the inbound flow starting at the Entry block. The call then traverses the flow, block by block, stopping at each block to determine what happens next. The flow eventually arrives at the Transfer to flow block, which ends this flow and transfers the call to the Omni-Channel Subflow. If errors are encountered at any point in the flow, the call gets routed to the Disconnect block.
A subflow is a flow within a flow. Salesforce offers several out-of-the-box subflows that let you add features to a flow, such as Omni-Channel routing, callbacks, and voicemails. A subflow can’t be used on its own; instead, it must be added to a flow using the Transfer to flow block. You can add multiple subflows to a flow by daisy-chaining them together. In fact, some of the sample flows include several subflows daisy-chained together. For example, the Sample SCV Inbound Flow includes the Sample SCV Omni-Channel Subflow, which then transfers out to a series of other subflows ending with the Sample SCV Transcription Subflow with Contact Lens.
- A call comes in, which triggers the Sample SCV Inbound Flow.
- The call moves through the Sample SCV Inbound Flow, creating a voice call record before it’s transferred to the Sample SCV Omni-Channel Subflow.
- The call moves through the Sample SCV Omni-Channel Subflow, routing and prioritizing the call based on the routing logic of the specified Omni-Channel flow. After this, the call is transferred to the Sample SCV Callback Subflow.
- The call moves through the Sample SCV Callback Subflow, giving the caller the option to schedule a callback if the queue is busy. If the caller chooses to schedule a callback, the call is transferred to the Callback queue. If the caller chooses to remain on the line, the call is transferred to the Sample SCV Transcription Subflow with Contact Lens.
- The call moves through the Sample SCV Transcription Subflow with Contact Lens, enabling real-time transcription before finally transferring the call to the queue. This ends the entire flow.
The order of the subflow chain matters. For example, for inbound calls, if you place the Omni-Channel Subflow before the Callback Subflow, callback calls will be routed correctly. If you flip the subflows by placing the Callback Subflow before the Omni-Channel Subflow, callback calls will be routed to the basic queue.
For inbound calls, you can’t point a phone number directly to a subflow; instead, point your phone number to the inbound flow. Subflows don’t create a voice call record in Salesforce; they rely on the inbound flow to do that.