---
schema_version: "1"
id: c0dae0c76a7fcaaeb33dbe075af52282085f8f6973da6559db6983bd565520f5
title: Create an Omni-Channel Routing Flow for the B2B Guided Shopping Agent
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_agent_guided_shopping_omnichannelflow.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_agent_guided_shopping_omnichannelflow.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 03bd5dffedba5f5abf711661f4ede321ef6581b5485076980719d96b7bbaee84
description: An Omni-Channel routing flow routes messages from the messaging service to your guided shopping agent for your B2B store. Create a flow to automate routine tasks, and to make agent communication more efficient.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Create an Omni-Channel Routing Flow for the B2B Guided Shopping Agent

An Omni-Channel routing flow routes messages from the messaging service to your guided shopping agent for your B2B store. Create a flow to automate routine tasks, and to make agent communication more efficient.

### 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;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

Before you begin, create a guided shopping agent for your B2B store. See [Create a Guided Shopping Agent for a B2B Store](https://help.salesforce.com/s/articleView?id=commerce.comm_agent_guided_shopping_create_agent.htm&language=en_US).

1. In your Salesforce org, click ![Setup icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/comm/images/comm_setup_icon_no_border.png) at the top of the page, and then select **Setup**.
2. In the Quick Find box, enter and select **Omni-Channel Settings**.
3. Select **Enable Omni-Channel** and **Enable Skills-Based and Direct-to-Agent Routing**, and then save your settings.
4. In the Quick Find box, enter and select **Flows**.
5. Create a flow, and select the Omni-Channel Flow template.
6. Add an element of the type Route Work.
    1. Add a label for the element. The API Name field is automatically populated.
    2. Create the variables recordId and input\_record under Set Input Values.
7. Select Messaging as the vaue for Service Channel, and route to an agent.
8. Select the agent to which the messages are routed.
9. Select the backup or fallback queue to which the messages are routed.
10. Save your changes and activate the flow.

#### See Also

- [Localize a B2B Guided Shopping Agent](https://help.salesforce.com/s/articleView?id=sf.comm_agent_guided_shopping_localize.htm&language=en_US)