Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Agentforce and Einstein Generative AI
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
          Connect an Agent to Enhanced Chat v1

          Connect an Agent to Enhanced Chat v1

          Connect an Agentforce Service agent to Enhanced Chat v1. Connect an Agentforce Employee agent to your Experience Cloud site with Enhanced Web Chat v1.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Performance, Unlimited, and Developer Editions. Required add-on licenses vary by agent type.

          Check markThis article applies to: Agentforce Service agents and Agentforce Employee agents

          To learn about channel support for other agent types, see the documentation for that type.

          Warning
          Warning Ensure that the routing procedures don’t simultaneously route conversations to a service rep and an AI agent. For more information, see Knowledge Article: Messaging Session Stuck in Waiting or Inactive Status When a Bot and an Agent Are Engaged.

          For detailed instructions on creating Omni-Channel flows for Enhanced Chat, see Prepare a Salesforce Org for Enhanced Chat.

          • Show Progress Indicators in Enhanced Chat v1 Sessions
            Progress indicators tell the messaging user what actions an agent is taking behind the scenes of an Enhanced Chat session. Standard actions come with pre-written progress indicators, such as "Doing research" or "Analyzing". To customize progress indicators, create a custom agent action.

          Connect a Service Agent to Enhanced Chat v1

          Route conversations to a service agent with Enhanced Chat v1.

          Required Editions

          User Permissions Needed  
          To build and manage Service Agents:

          Manage Agentforce Service Agents AND Manage AI Agents

          OR

          Customize Application

          1. Create an inbound Omni-Channel flow from scratch that routes messages to your agent. For the Route Work action in your inbound Omni-Channel flow, enter these field values.
            • Record ID: The recordID variable that you created.
            • Service Channel: Messaging
            • Route To: Select the Agentforce Service Agent type, and then select your agent's name. If your agent type and name don’t appear, activate your agent, refresh Flow Builder, and try again.
            • A messaging queue. When your inbound Omni-Channel flow can't route conversations to your agent, it sends the conversation to this queue.
          2. Add your inbound flow to a messaging channel, and then activate the channel. You can connect your agent to multiple inbound channels, but an inbound channel can be connected to only one agent.
          3. Open your agent in Agentforce Builder. Save and commit your agent and then select the Messaging connection. Confirm that your inbound Omni-Channel flow appears in the Inbound Routing section of the canvas. If a flow doesn’t appear, activate the flow and refresh the builder.
          4. Open your agent in the legacy Agentforce Builder. On the Connections panel, confirm that your inbound Omni-Channel flow appears in the Inbound Routing section of the Messaging connection. If a flow doesn’t appear, activate the flow and refresh the builder.
          5. Add your agent to a messaging interface by configuring an embedded service deployment.

          Agents connected to a messaging channel use the Escalation subagent and an outbound Omni-Channel flow to transfer conversations. After you've set up inbound routing for your agent, set up outbound routing.

          Connect an Employee Agent to Enhanced Web Chat v1

          Add an Agentforce Employee agent to your Experience Cloud site with Enhanced Web Chat v1.

          Required Editions

          User Permissions Needed  
          To build and manage Employee agents:

          Manage AI Agents

          OR

          Customize Application

          To create an Experience Cloud site: Create and Set Up Experiences AND View Setup and Configuration
          To customize or publish an Experience Cloud site:

          Create and Set Up Experiences AND View Setup and Configuration AND be a member of the site

          OR

          View Setup and Configuration AND be a member of the site AND have appropriate role-based site access

          To set up Omni-Channl Flow and Messaging: Customize Application

          Agentforce Employee agents connected to Enhanced Web Chat on Experience Cloud sites run in the context of the logged-in user. Permissions and licenses must be assigned to each user. Unauthenticated users aren’t currently supported.

          Before you begin:

          1. Create an inbound Omni-Channel flow from scratch that routes messages to your agent, and then activate your flow.
            For the Route Work action in your inbound Omni-Channel flow, enter these field values.
            • Record ID: The recordID variable that you created.
            • Service Channel: Messaging
            • Route To: Select the Agentforce Employee agent type, and then select your agent's name. If your agent type and name don’t appear, activate your agent, refresh Flow Builder, and try again.
            • A messaging queue. When your inbound Omni-Channel flow can't route conversations to your agent, it sends the conversation to this queue.
          2. Create an Enhanced Chat channel.
            1. Add the domain of your Experience Cloud site to your messaging channel. You can copy and paste your domain name from the Domains Setup page.
            2. Add your inbound flow to your messaging channel, and then activate the channel. You can connect your agent to multiple inbound channels, but an inbound channel can be connected to only one agent.
            3. After you finish, turn on credential-based user verification for your channel. Later, you’ll add user verification to your site.
          3. Open your agent in the legacy Agentforce Builder.
            1. On the Connections panel, confirm that your inbound Omni-Channel flow appears in the Inbound Routing section of the Messaging connection.
            2. If a flow doesn’t appear, activate the flow and refresh the builder.
          4. Add your agent to your site.
            1. Configure an embedded service deployment.
            2. Add credential-based user verification to your site.
            3. Review and, if necessary, adjust your site’s security and privacy settings. For best performance with an embedded service deployment, we recommend setting your security level to Relaxed CSP: Permit Access to Inline Scripts and Allowed Hosts and adding your enhanced service URL to your trusted sites for scripts.
          5. When you're ready, publish your site.

          Agents connected to a messaging channel use the Escalation subagent and an outbound Omni-Channel flow to transfer conversations. After you've set up inbound routing for your agent, set up outbound routing.

           
          Loading
          Salesforce Help | Article