You are here:
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. |
| 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 |
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
-
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. - Click the flow that you want to summarize to open it.
- If the Flow AI Agent panel isn't visible, click Ask in the Flow Builder button bar.
- In the Flow AI Agent panel, click Summarize this flow, or ask AI to summarize the flow.
- To get a shorter version of the summary, click Make Shorter.
- To get a longer version again, click Make Longer.
Add the Summary to a Flow Description
-
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. - Click the flow that you want to summarize to open it.
- In the Flow AI Agent panel, ask AI to summarize the flow, or click Summarize this flow.
-
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.
-
Edit the label or description as needed.
If you're saving the flow for the first time, you can also edit the API Name.
- 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.
-
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. - Click the flow that contains the element that you want to summarize to open it.
- In the Flow AI Agent panel, ask AI to summarize the element. For example, enter Summarize the Get Open Cases element.
- 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.
-
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. - Click the main flow that has the subflow elements to open it.
- In the Flow AI Agent panel, ask to summarize the flow.
- In the resulting summary, open each flow referenced in a subflow element, each in its own Flow Builder window.
- For each referenced flow, click Summarize this flow.
-
To add the summary to the subflow referenced flow description, click Add to
Description.
The referenced flow's properties window opens.
- Edit the description as needed, and then click Save.
- Optionally, copy each subflow reference flow's summary and paste it into the main flow's description to add more details.
