Loading
Salesforce now sends email only from verified domains. Read More
Agentforce Contact Center
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Route Voice Calls to a Skill with Omni-Channel Unified Routing

          Route Voice Calls to a Skill with Omni-Channel Unified Routing

          Using Unified Routing with Omni-Channel, route voice calls with Omni-Channel skills. Make sure that a rep who has the correct skills to solve the problem takes the call.

          Required Editions

          This article applies to:

          • Service Cloud Voice with Amazon Connect
          • Service Cloud Voice with Partner Telephony from Amazon Connect
          View supported editions.
          User Permissions Needed
          To view the Amazon Contact Centers page: Customize Application AND Manage Call Centers
          To create and manage a contact center: Contact Center Admin
          To set up Omni-Channel: Customize Application
          To assign skills to service resources: Edit on service resources

          Before you begin:

          • Configure Omni-Channel Unified Routing for a contact center.
            • For skill-based routing, your contact center must have a holding queue in Salesforce that’s mapped to a working queue in Amazon Connect. This holding queue is required because Amazon requires a working queue, even though executeOmniFlow only returns a rep’s ARN for skill-based routing.

          To set up routing to a skill, define logic that determines the skills needed to route work items and then assign skills to reps. To assign a skill to a rep, assign the skill to a service resource and then assign the service resource to the rep. Set up an Omni-Channel flow in Salesforce to route work items to reps based on the required skills. Then finish configuration in Amazon Connect.

          Configure Skills-Based Routing with Omni-Channel Unified Routing in Salesforce

          1. Prepare to route to skills.
            1. Enable skills-based routing in Omni-Channel Settings.
            2. Create skills. For example, create skills that correspond to languages used for voice calls. Skills can’t be deleted after they are created.
            3. Create service resources and assign skills to service resources. This configuration assigns skills to reps.
          2. Create an Omni-Channel flow with an Add Skill Requirements action.
            1. Store the output value in a variable that the Route Work action will use.
            Include an Add Skill Requirements action in the flow, using a skill like spoken English
          3. Add a Route Work action to the flow.
            1. Route to Skills.
            2. For Skill Requirements, select Define Skill Requirements.
            Add a Route Work action to the flow, route a single recordId variable on a Phone service channel to Skills. Define skill requirements using a Skill Requirement list.
          4. From Setup, enter and select Amazon Contact Centers. Select your Amazon Connect Contact Center and go to the Contact Center Channels section. Create a Contact Center Channel or edit a channel to use it for skills-based routing.
            1. Under Call Routing, set Call Routing Type to Omni-Channel Flow and select the Omni-Channel flow you defined.
            2. Set the fallback queue to a queue you created when setting up Unified Routing.
          Note
          Note For an alternative to using an Omni-Channel flow with an Add Skill Requirements action, see Routing with Skills-Based Routing Rules.

          Configure Skills-Based Routing with Omni-Channel Unified Routing in Amazon Connect

          1. To go to the Amazon Connect Admin Dashboard associated with your contact center, navigate to the Contact Center Details section in Salesforce and click Telephony Provider Settings.
          2. In Amazon Connect, select Routing and then select Flows.
            Note
            Note
            • These instructions reference sample Amazon Connect flows for admins setting up Omni-Channel Unified Routing in a brand new contact center. For a contact center with preexisting flows, interpret the steps and referenced flows according to your current setup. For example, edit your inbound flow to meet the requirements below.
            • If you’re using our sample flows end-to-end, edit the Sample SCV Inbound Flow to transfer to the Sample SCV Omni-Channel Subflow - Omni Routing for Skills flow.
          3. Edit the Sample SCV Omni-Channel Subflow - Omni Routing for Skills flow or your preexisting inbound flow that’s connected to a phone number according to your business needs.
            While Salesforce provides sample Amazon Connect flows as a reference, each organization usually adds unique business logic to their flow implementations. If you are updating an Amazon Connect flow to enable Omni-Channel Unified Routing to skills, reference the example flow (Sample SCV Omni-Channel Subflow - Omni Routing for Skills) and keep these considerations and requirements in mind.
            Sample SCV Omni-Channel Subflow - Omni Routing for Skills with callouts on a Set routing criteria block and Set working queue block
            1. Include a Set routing criteria block (1) before the Invoke AWS Lambda function block that invokes the executeOmniFlow method.
              Set routing criteria block with Set manually selected, Requirements lists a Requirement type of Predefined attribute and a Routing (True) >= 1 requirement and Expiration set to Never expire.
            2. In the Invoke AWS Lambda function block that calls executeOmniFlow (2), add a Function input parameter with the Destination Key of flowDevName. For Value, select Set manually, and set the value to the API name of the Omni-Channel flow used to route to skills. For additional options including fallbackQueue and flowInput parameters, see InvokeTelephonyIntegrationApiFunction Lambda Function for details.
            3. If you’re using the holding queue approach that we recommend, the Set working queue block (3) should be set By Queue manually to the working (holding) queue.
              Set working queue block with By queue selected, Set manually selected, and the holding queue selected
          4. Save your work and publish the flow.
           
          Loading
          Salesforce Help | Article