Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Automate Your Business Processes
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
          Evolve a Flow with Agentforce (Beta)

          Evolve a Flow with Agentforce (Beta)

          Improve and modify your existing flows by using natural language in the Agentforce panel. Through conversational prompts, add new elements, update properties and conditions, and remove outdated components.

          Required Editions

          Available in: Lightning Experience
          View supported editions.
          This feature requires the Foundations or Agentforce 1 editions. To purchase, contact your Salesforce account executive.
          Note
          Note Evolve a Flow with Agentforce is a pilot or beta service that is subject to the Beta Services Terms at Agreements - Salesforce.com or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the Product Terms Directory. Use of this pilot or beta service is at the Customer's sole discretion.
          User Permissions Needed
          To open, edit, create, activate or deactivate a flow using all flow types, elements, and features available in Flow Builder, including Einstein and Agentforce for Flow: Manage Flow
          Note
          Note Flow evolution with Agentforce supports record-triggered, screen flows, schedule-triggered flows, external system change-triggered flows, and flows that use connectors as actions. Creating and evolving external system change-triggered flows and flows that use connectors as actions requires specific MuleSoft for Flow user permissions and licenses. See Create MuleSoft for Flow: Integration Flows with Agentforce.

          Flow evolution works with AI-generated flows, manually created flows, and previously saved flows, maintaining context throughout your modification session.

          Set Up Agentforce for Flow Evolution

          Complete these one-time setup steps before you use Agentforce to evolve flows.

          1. Turn on Einstein Generative AI in Setup.
          2. Provision and turn on Data 360.
          3. From Setup, in the Quick Find box, enter Agentforce Agents, select Agentforce Agents, and then turn on Agentforce.
          4. From Setup, in the Quick Find box, enter Process Automation Settings, and then select Process Automation Settings.
          5. Select Agentforce flow automation (Beta) and save the settings.
          6. Open any flow in Flow Builder, click The Einstein icon, and click Migrate to Agentforce.
            The Migrate to Agentforce button in the Einstein panel
          7. In the Migrate to Agentforce window, click Migrate.

          Request Flow Modifications

          Open your flow in Flow Builder and describe the changes you want Agentforce to make.

          1. Open the flow that you want to modify in Flow Builder.
          2. Open the Agentforce panel if it's not visible.
          3. In the Agentforce panel, describe the modification you want to make to your flow. Write clear, specific instructions about what you want to change. For example:
            • "Add a decision element to check if the opportunity stage is Closed Won"
            • "Update the email template used in the Send Email action"
            • "Remove the loop element that processes inactive accounts"
            • “Modify this flow to show the user an overview of the updated contact record and ask for confirmation before updating the email address”
            The Flow Builder canvas shows the modified flow.
            The Agentforce panel with the request for flow modification and the option to accept or reject the changes

          Review and Validate the Evolved Flow

          Inspect the AI-generated changes on the Flow Builder canvas, and confirm that the flow works as expected before you activate it. A flow comparison view shows the differences between the previous and current versions.

          1. Review the changes. To approve them, click Accept Changes. To request further modifications, click Reject Changes.
          2. Test and validate your evolved flow.
            1. Debug the flow to make sure that the modifications work as expected.
            2. Check each modified element for accuracy and proper configuration.
            3. When you're satisfied with the changes, save and activate the flow.
           
          Loading
          Salesforce Help | Article