This article explains how to call Omni-Channel flows in Salesforce Voice (formerly Service Cloud Voice) with Amazon Connect and Partner Telephony from Amazon Connect models.
This guide assumes that you have already created and activated an Omni-Channel flow and obtained a phone number in Amazon Connect.
1. (Salesforce) Set the Omni-Channel flow in the Contact Center settings Associate your phone number with the Omni-Channel flow in the Contact Center Channels section. In the Contact Center Channels section, click Add and configure the following:
Channel Name: Your choice
Phone Number: The number to associate with the Omni-Channel flow
Routing Type: Omni-Channel Flow
Omni-Channel Flow: Select the target flow
Fallback Queue: Specify a queue to route calls to if the Omni-Channel flow encounters an error
2. (Amazon Connect) Configure the Contact Flow In the Contact Flow triggered upon an incoming call, call the InvokeTelephonyIntegrationApiFunction Lambda function. Use the following arguments when calling the Lambda function:
(Required) methodName: executeOmniFlow
(Optional) flowDevName: API name of the Omni-Channel flow to call
(Optional) fallbackQueue: API name or ID of the Salesforce fallback queue
(Optional) flowInput-XXX: Input variables for the Omni-Channel flow (not required if the flow has no input variables)
If flowDevName and fallbackQueue are not specified, the values configured in the "Contact Center Channels" section (Step 1) will be used.
For implementation reference, see the AWS Lambda function block in the Sample SCV Omni-Channel Subflow - Basic Routing With Case Creation, which is deployed by default when creating a contact center.
Once configured, save and publish your contact flow.
005102711

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.