Loading
Connect in real time with the Trailblazer Community in Slack Open BetaRead More
Automate Your Business Processes with Salesforce Flow
Summarize Flows and Flow Elements with AI (Beta)

Summarize Flows and Flow Elements with AI (Beta)

Use AI to summarize an entire flow or a single element in plain language. Make a summary shorter, or add a flow summary to the flow description so anyone can understand how the flow works.

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 AI in Flow Builder is a 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 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 AI: Manage Flow
Note
Note You don't need to be an admin to have the Manage Flow permission. Ask your admin to add it to your profile or permission set.

To use AI to summarize flows, turn on Einstein generative AI and the Headless 360 MCP Server (Beta) in Setup.

AI creates two types of summaries:

  • Short: The summary provides a brief description of what the flow does in one or two sentences and includes references to any flows referenced in Subflow elements.
  • Long (Default): The summary describes all the flow steps and includes the input and output variables, the records that the flow changes, and the flows referenced in subflow elements.

Summarize a Flow in Flow Builder

  1. Open the Flows list view.
    • From the Automation app, select the Flows tab.
    • From the Flows tab in any Lightning app, click the actions menu and select Open Flow.
    • From Setup, in the Quick Find box, enter Flows, and then select Flows.
    Note that the Automation app and Flows tab options don't require Setup access.
  2. Click the flow that you want to summarize to open it.
  3. If the Flow AI Agent panel isn't visible, click Ask in the Flow Builder button bar.
  4. In the Flow AI Agent panel, click Summarize this flow, or ask AI to summarize the flow.
  5. To get a shorter version of the summary, click Make Shorter.
  6. To get a longer version again, click Make Longer.

Add the Summary to a Flow Description

  1. Open the Flows list view.
    • From the Automation app, select the Flows tab.
    • From the Flows tab in any Lightning app, click the actions menu and select Open Flow.
    • From Setup, in the Quick Find box, enter Flows, and then select Flows.
    Note that the Automation app and Flows tab options don't require Setup access.
  2. Click the flow that you want to summarize to open it.
  3. In the Flow AI Agent panel, ask AI to summarize the flow, or click Summarize this flow.
  4. To add the AI-generated summary to the flow description, click Add to Description.
    If the flow has an existing description, Add to Description replaces it with the summary.
    The flow's properties window opens.
  5. Edit the label or description as needed.
    If you're saving the flow for the first time, you can also edit the API Name.
  6. If you're saving the flow for the first time, click Save. Otherwise, click Done.

Summarize a Flow Element

Get a plain-language summary of a single element. The summary can be up to 300 words.

  1. Open the Flows list view.
    • From the Automation app, select the Flows tab.
    • From the Flows tab in any Lightning app, click the actions menu and select Open Flow.
    • From Setup, in the Quick Find box, enter Flows, and then select Flows.
    Note that the Automation app and Flows tab options don't require Setup access.
  2. Click the flow that contains the element that you want to summarize to open it.
  3. In the Flow AI Agent panel, ask AI to summarize the element. For example, enter Summarize the Get Open Cases element.
  4. To get a shorter summary of up to 100 words, click Make Shorter.

Summarize Flows in Subflow Elements

The main flow summary provides a concise overview of the flows referenced in subflow elements in the context of the main flow. To generate a detailed summary of each subflow referenced flow and add the summary to the subflow description, click the link to the subflow and summarize the subflow separately.

  1. Open the Flows list view.
    • From the Automation app, select the Flows tab.
    • From the Flows tab in any Lightning app, click the actions menu and select Open Flow.
    • From Setup, in the Quick Find box, enter Flows, and then select Flows.
    Note that the Automation app and Flows tab options don't require Setup access.
  2. Click the main flow that has the subflow elements to open it.
  3. In the Flow AI Agent panel, ask to summarize the flow.
  4. In the resulting summary, open each flow referenced in a subflow element, each in its own Flow Builder window.
  5. For each referenced flow, click Summarize this flow.
  6. To add the summary to the subflow referenced flow description, click Add to Description.
    The referenced flow's properties window opens.
  7. Edit the description as needed, and then click Save.
  8. Optionally, copy each subflow reference flow's summary and paste it into the main flow's description to add more details.
 
Loading
Salesforce Help | Article