---
schema_version: "1"
id: 34da92deeaadd68806f43f4b3888152a494fc6e584df286905de25848214c8cc
title: Set Up Routing for Messaging Channels
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/messaging_omnichannel_routing.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.messaging_omnichannel_routing.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bd0a9292c5db7801eb1bab700a0d441f0a8a92de8d9177fcb2cd68bb7b81a674
description: Use Omni-Channel to route customer inquiries sent over a Messaging channel to a queue, bot, or qualified service rep. For simple routing scenarios, try queue-based routing. Alternatively, create an Omni-Channel flow to define routing rules and dynamically route messages, or route all messages to a single user or an Agentforce agent.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Set Up Routing for Messaging Channels

Use Omni-Channel to route customer inquiries sent over a Messaging channel to a queue, bot, or qualified service rep. For simple routing scenarios, try queue-based routing. Alternatively, create an Omni-Channel flow to define routing rules and dynamically route messages, or route all messages to a single user or an Agentforce agent.

### Required Editions

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

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <a name="messaging_omnichannel_routing__d708e447"><!-- --></a><span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" id="messaging_omnichannel_routing__d708e447" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/resources-global/_corporate/images/checkmark.png" alt="Checkmark"></span>
            <strong>This article applies to:</strong>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">Enhanced WhatsApp, Enhanced Facebook Messenger, Standard and Enhanced SMS,
            Enhanced Apple Messages for Business, Enhanced LINE, and Bring Your Own
            Channel</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/resources-global/_corporate/images/crossmark.png" alt="X icon"></span>
            <strong>This article doesn’t apply to:</strong>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">Enhanced In-App Chat or Enhanced Web Chat channels</td>

        </tr>
      </tbody>
    </table>

For help configuring routing for Enhanced Chat, see the Enhanced Chat setup documentation.

When you configure routing for your enhanced Messaging channels, you can choose between using status-based and tab-based capacity. Here’s how they’re different.

  
|   | Tab-Based Capacity | Status-Based Capacity |
| --- | --- | --- |
| What determines a service rep's capacity | The number of their open tabs and sessions | The status of their accepted work |
| Maximum capacity per service rep | 100 tabs at a time | 100 work items at a time |
| What happens when a service rep closes a messaging session tab | The rep is prompted to either end the session or mark it inactive.  | The messaging session’s status and ownership are unaffected, and the rep isn’t prompted to end or inactivate the session. In standard (non-console) apps, this behavior makes it easier for reps to navigate between messaging session records without session ownership being affected. |
| What happens when a customer re-engages in an inactive messaging session | The session is routed to the support team as if it were a new session. More complex routing logic is required to ensure that it’s reassigned to the same rep. | The same rep receives the customer’s new message and continues helping the customer. |
| What happens when a service rep goes offline | The rep's active messaging sessions update to Waiting and are routed to your support team. | The rep's active messaging sessions remain active. |

Capacity settings are configured on the Omni-Channel Settings and Service Channels pages in Setup. To learn more, see [Understanding Capacity Models](https://help.salesforce.com/s/articleView?id=service.service_presence_capacity_model.htm&type=5&language=en_US). Status-based capacity is available in enhanced Messaging channels and Enhanced Chat.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/images/icon_note.png)

Note

- If a service rep opens the messaging session in multiple console tabs (for example, opening it directly and then opening it through the Messaging End User record), several known issues occur:
    - Normally, after a service rep transfers a messaging session, their AgentWork record closes and a new AgentWork record is opened for the receiving service rep. In a two-tab scenario, the AgentWork record for the service rep who transferred the session remains open in the second tab. As a result, that service rep’s stats aren’t accurate.
    - The messaging inactivity timer fails for this messaging session.

- **[Route Service Messaging Sessions with Omni-Channel Flows](https://help.salesforce.com/s/articleView?id=service.messaging_routing_flows.htm&release=264.0.0&type=5)**  
    Dynamically route customer messages sent over a Messaging channel to the right service rep, queue, or bot. Build a template-based flow in Flow Builder and assign it to one or more Messaging channels.
- **[Route Service Messaging Sessions to Queues](https://help.salesforce.com/s/articleView?id=service.messaging_route_queues.htm&release=264.0.0&type=5)**  
    Route customer messages to the appropriate queue using an Omni-Channel routing configuration. Queue-based routing, an alternative to Omni-Channel flows, is ideal for simple routing scenarios.
- **[Route All Messages to One User](https://help.salesforce.com/s/articleView?id=service.messaging_route_single_user.htm&release=264.0.0&type=5)**  
    If the situation calls for it, route all incoming messages in an enhanced channel to a specific user. For example, if individual reps have their own SMS number, route all messages sent to that number directly to them. While this routing approach is simple, businesses of different sizes need to consider whether it makes sense to always have messages routed to one rep.
- **[Route Messages Directly to Agentforce](https://help.salesforce.com/s/articleView?id=service.messaging_route_to_agentforce.htm&release=264.0.0&type=5)**  
    Save time by routing messages directly to an Agentforce Service agent, without using an Omni-Channel flow.

#### See Also

- [Add the Omni-Channel Component to a Lightning App](https://help.salesforce.com/s/articleView?id=service.omnichannel_add_utility_to_console.htm&type=5&language=en_US)
- [Omni-Channel Utility for Lightning Console Apps](https://help.salesforce.com/s/articleView?id=service.console_lex_custom_utilities_omnichannel.htm&type=5&language=en_US)