---
schema_version: "1"
id: 8918660b325c0c672e371eec2513995c85262c924ed0a69a46b5aae5b2467ec6
title: Transfer Conversations from an Agent with an Omni-Channel Flow
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/service_agent_escalation.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.service_agent_escalation.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 79546299876d1ef9874a18ba621d4d5892295ba239437a387a1392bc8311b6ca
description: When an agent encounters conversations that it can’t resolve, it uses the Escalation subagent to escalate the conversation. In the new Agentforce Builder, you can also run the Escalation subagent using the escalate utility function in Agent Script. Escalation and transferring works differently depending on the agent type and channel. You can customize the experience that customers receive when transferring isn’t possible.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Transfer Conversations from an Agent with an Omni-Channel Flow

When an agent encounters conversations that it can’t resolve, it uses the Escalation subagent to escalate the conversation. In the new Agentforce Builder, you can also run the Escalation subagent using the escalate utility function in Agent Script. Escalation and transferring works differently depending on the agent type and channel. You can customize the experience that customers receive when transferring isn’t possible.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
        <colgroup>
          <col>
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and
              <strong>Developer</strong> Editions. <a href="https://help.salesforce.com/s/articleView?id=ai.agent_setup_explore_types.htm&amp;release=264.0.0&amp;type=5" title="Learn about agent types and default templates for specific clouds and common use cases.">Required
                add-on licenses vary by agent type.</a>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p><span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/resources-global/_corporate/images/checkmark.png" alt="Check mark"></span>This article applies to: Agentforce Service agents and Agentforce Employee
                agents</p>
              <p style="margin-bottom:0;">To learn about channel support for other agent types, see the documentation for
                that type.</p>
            </td>

          </tr>
        </tbody>
      </table> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="vertical-align:top;" id="d174109e94">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d174109e94 ">To build and manage Employee agents:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d174109e94 ">
              <p>Manage AI Agents</p>
              <p>OR</p>
              <p style="margin-bottom:0;">Customize Application</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d174109e94 ">To build and manage Service agents:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d174109e94 ">
              <p>Manage Agentforce Service Agents AND Manage AI Agents</p>
              <p>OR</p>
              <p style="margin-bottom:0;">Customize Application</p>
            </td>

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

Agentforce Service agents and Employee agents use the Escalation subagent to escalate conversations. If your agent doesn’t have the Escalation subagent, it can’t escalate sessions. To make sure that agents escalate according to your company policies, we recommend customizing this subagent with actions and instructions. For example, we made it easy for users to request a rep by using phrases such as "transfer to a representative." Consider adding phrases that are specific to your business needs to your agent’s instructions, such as "investment banker" or "front desk."

Escalation works differently depending on the agent template and channel. On enhanced messaging channels, service agents transfer conversations to a specified destination, such as a rep or queue, using an outbound Omni-Channel flow. Similarly, when an employee agent is connected to an Experience Cloud site with Enhanced Web Chat, the agent uses the Escalation subagent to transfer the conversation to the rep or queue you set in the Omni-Channel flow. Transfers aren’t supported for employee agents that are connected to the Agentforce panel in Lightning Experience or the Salesforce mobile app.

1. Create and activate an outbound Omni-Channel flow from scratch that can route your agent’s conversations to another destination, such as a service rep, queue, or different agent. If using the same flow to route multiple types of records, don’t use an input\_record variable in your flow, as this variable must be linked only to one type of record and the flow will not work for other types of records.
    
    The conversation history, including messages and information gathered, is also transferred to the next destination.
    
    - [Route Work Items to Queues](https://help.salesforce.com/s/articleView?id=service.omnichannel_route_to_queues.htm&language=en_US)
    - [Route Work Items Directly to a Specific Agent](https://help.salesforce.com/s/articleView?id=service.omnichannel_route_to_specific_agent.htm&language=en_US)
    - [Route Work Items to Skills](https://help.salesforce.com/s/articleView?id=service.omnichannel_route_using_skills.htm&language=en_US)
    - [Make Smarter Routing Decisions by Checking Service Rep Availability](https://help.salesforce.com/s/articleView?id=service.omnichannel_check_availability_for_routing.htm&language=en_US)
2. Add the outbound flow to your agent in Agentforce Builder.
    1. From the App Launcher, enter Agent, and then select **Agentforce Studio**.
    2. On the Agents tab, click the name of your agent.
    3. In the Explorer panel, select the Messaging connection.
    4. On the canvas, in the Escalations section, select the outbound flow that you created in the Escalation Flow field. If your flow doesn’t appear in the list, activate the flow and try again.
3. Add the outbound flow to your agent in the legacy Agentforce Builder.
    1. From Setup, in the Quick Find box, enter Agent, and then select **Agentforce Agents**.
    2. Click the name of your agent. Then, on the Details page, click **Open in Builder**.
    3. In the legacy builder, click the **Connections** tab.
    4. In the Escalations section, from the Escalation Flow field, select the outbound flow that you created. If your flow doesn’t appear in the list, activate the flow and try again.
4. Add an escalation message. The agent sends this message before it attempts to transfer the conversation to the destination specified in your outbound Omni-Channel flow.
    
    Your agent includes a default escalation message that you can edit to better match your company’s brand. As a best practice, configure the message to clearly indicate that the conversation is being transferred to a rep.
    
    The escalation message is automatically translated based on the end user's language setting. If the language isn't supported, the original message is sent without translation.
5. To test escalation, [activate your agent](https://help.salesforce.com/s/articleView?id=ai.copilot_setup_activate_deactivate.htm&release=264.0.0&type=5 "Activate your agent to make it available to your customers or employees. When an agent is deployed to one or more channels, including the Agentforce panel, activating the agent makes it immediately available to your users.") and then chat with it on a connected channel. Agents can't escalate a conversation in Agentforce Builder because there isn't a messaging session associated with the conversation.

Customize the experience that end users receive when transferring isn’t possible. By default, when the transfer isn’t completed, the agent continues the session with the customer based on the Escalation subagent and retains the context of the conversation before the transfer was attempted. Agents attempt transferring with the Escalation subagent only once per session.

- Determine service rep availability and estimated wait time by adding the Check Availability for Routing action element to your outbound Omni-Channel flow.
- Update the escalation message to reflect your customized escalation experience. For example, you could say, "One moment while I check if there are any service reps available."
- Customize the Escalation subagent to guide the agent when a transfer isn’t completed. For example, add an instruction that tells the agent to create a case with the [Create Case with Enhanced Data action](https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_create_case_with_enhanced_data.htm&release=264.0.0&type=5 "Creates a detailed support case with a structured summary, relevant conversation history, and a linked chat transcript when triggered from supported messaging channels. This context helps agents resolve issues efficiently and avoid repeated interactions.") in the Case Management subagent. Employee agents connected to Enhanced Web Chat don’t support case creation when escalation isn’t completed.

For example, this outbound Omni-Channel flow checks if reps are available and then routes the session to a queue. If no reps are available or a transfer isn’t possible, the flow ends and the agent continues the conversation session with the user.

![An Omni-Channel flow in Flow Builder with a Check Availability for Routing action element, Decision element, and Route Work action element.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/generative_ai/images/route_conversations_from_flow.png)

#### See Also

- [Deploy Your Agent to Channels](https://help.salesforce.com/s/articleView?id=ai.agent_parent_deploy.htm&release=264.0.0&type=5 "Connect your agent to multiple channels. Meet your customers and employees where they spend the most time.")
- [Create an Omni-Channel Flow](https://help.salesforce.com/s/articleView?id=service.omnichannel_create_a_flow.htm&language=en_US)