---
schema_version: "1"
id: 18ffb06f3894307f42e04232ed3ec206c21edc625d9eacf4de144a9a4e1adf05
title: Create an Omni-Channel Flow
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/omnichannel_create_a_flow.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.omnichannel_create_a_flow.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bb1459abc47744bf43cedd550aeb59f8472bca8f61679d67a66b855f5d093093
description: Create a flow from scratch. Or, get a headstart by creating one from an Omni-Channel flow template. The templates illustrate how to create flows that route chats, voice calls, and messages to service reps, queues, and skills. You can also use a template to create a case for each inbound call. You can customize flows built from templates to meet your business needs.
products:
  - Service Cloud
release: "264"
---
# Create an Omni-Channel Flow

Create a flow from scratch. Or, get a headstart by creating one from an Omni-Channel flow template. The templates illustrate how to create flows that route chats, voice calls, and messages to service reps, queues, and skills. You can also use a template to create a case for each inbound call. You can customize flows built from templates to meet your business needs.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.service_editions_reference.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

1. In the Quick Find box under Setup, enter Flows, and then select **Flows** under Process Automation.
2. Click **New Flow**.
3. Click **All + Templates**.
4. To filter the flow types to Omni-Channel flows, select **Omni-Channel Flow** in the left pane of the New Flow screen.
    
    ![New Omni-Channel Flow type.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/support/images/omnichannel/omnichannel_new_flow.png)
5. To create a flow from a template, select one of the following templates.
    
     
    | Omni-Channel Flow Template | Description |
    | --- | --- |
    | Basic Routing with Case Creation | Creates a case for each inbound call. |
    | Chats Routed to Agents and Queues | Routes each chat to a service rep or queue based on conditions that you define. |
    | Chats Routed to Agents with the Right Skills | Routes each chat to a service rep with the required skills based on conditions that you define. |
    | Voice Calls Routed to Agents and Queues | Routes each call to a service rep or queue based on conditions that you define. |
    | Messages Routed to Agents and Queues | Routes each message to a service rep or queue based on conditions that you define. |
6. To create a flow from scratch, click **Omni-Channel Flow**.
7. Click **Next**.
8. Create these variables to store values in your flow.
    
      
    | Variable | Resource Type | Description |
    | --- | --- | --- |
    | recordId | Variable | Stores the ID that uniquely identifies the work record being routed. For example, if the flow routes a voice call, it stores the voice call ID. |
    | input\_record | Record (Singles) Variable | Stores the work record that’s being routed, including all fields and input values. For example, if the flow routes a chat, it stores the entire chat record from the Chat Transcript object. |
9. Add at least one Route Work action to route the work.
    
    Route Work actions are the last objects in the flow.
10. Click **Save**.

- **[About Flow Variables](https://help.salesforce.com/s/articleView?id=service.about_flow_variables.htm&release=264.0.0&type=5)**  
    Create the following variables to store values in your flow: recordId, skillList, prechat, and input\_record. RecordId is required. SkillList, prechat, and input\_record are optional based on your flow logic.
- **[Add Screen Pops to Give Reps More Context about Conversations](https://help.salesforce.com/s/articleView?id=service.omnichannel_add_screen_pop_action.htm&release=264.0.0&type=5)**  
    By default, only the primary work record opens when a service rep accepts a work item. But, with more context, service reps can provide more personalized service for each customer. To automatically open records or screen flows on the service rep's screen when a voice call, message, or chat is routed to the rep, include an Add Screen Pop action in the Omni-Channel flow. You can open up to a total of three records or screen flows. For example, you can show the customer’s case and contact records and open the Channel-Object Linking screen flow as a subtab.
- **[Make Smarter Routing Decisions by Checking Service Rep Availability](https://help.salesforce.com/s/articleView?id=service.omnichannel_check_availability_for_routing.htm&release=264.0.0&type=5)**  
    Optimize routing by using information collected about your organization’s capacity to handle new work requests. Add the Check Availability for Routing action to an Omni-Channel flow to determine service rep availability and estimated wait time. This action can return the number of online service reps and number of work items waiting to be picked up given the specified routing requirements, including routing type and parameters. It can also estimate how long the customer has to wait before they reach a service rep. You can then build routing logic based on the results. For example, if the service rep has more than five backlogged work items in their queue, you can route work to another queue instead.
- **[Route Work Items to Queues](https://help.salesforce.com/s/articleView?id=service.omnichannel_route_to_queues.htm&release=264.0.0&type=5)**  
    Automatically route work to a specific queue using variables.
- **[Route Work Items to Skills](https://help.salesforce.com/s/articleView?id=service.omnichannel_route_using_skills.htm&release=264.0.0&type=5)**  
    Automatically route work items to qualified support reps based on their specific skills. You can achieve this using skills-based routing rules, an Omni-Channel flow, or a combination of both. For instance, to conditionally assign specific skill requirements to work items using an Omni-Channel flow, add a Decision action to establish the conditions that determine which set of skills are applied to each work item and add a Skill Requirements action to define a set of skills.
- **[Route Work Items Directly to a Specific Support Rep](https://help.salesforce.com/s/articleView?id=service.omnichannel_route_to_specific_agent.htm&release=264.0.0&type=5)**  
    Automatically route work items directly to a support rep using Direct-to-Agent routing.
- **[Route Work Items to an Enhanced Bot](https://help.salesforce.com/s/articleView?id=service.omnichannel_route_to_bot.htm&release=264.0.0&type=5)**  
    Automatically route conversations to an enhanced bot using enhanced Messaging channels, based on your business criteria.