Skip the manual setup and use Agentforce to draft your test scenarios from the command
line, without opening Flow Builder. Generate comprehensive test scenarios for a
record-triggered, autolaunched, or Data Cloud-triggered flow, including success, fault, and
edge-case paths.
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
To use Agentforce for Flow in Agentforce Vibes, you need the Agentforce Platform Developer
and Admin permission set license, and the Agentforce Developer and Admin Tools permission
set assigned to your user.
Before you begin, connect your AI terminal to your Salesforce org.
Creating comprehensive test scenarios for complex flows manually is time-intensive and
error-prone. Agentforce for Flow Headless automatically analyzes your flow's structure,
decision outcomes, and required fields to draft comprehensive test scenarios. By letting
Agentforce for Flow Headless generate your test scenarios, you can:
Ensure comprehensive coverage across success, fault, and edge-case paths.
Reduce manual effort and potential logic gaps with pre-populated field values and
precise assertions.
Scale your testing strategy by integrating AI-generated test scenarios directly into
your CI/CD pipelines.
In your Salesforce-connected terminal, open your AI tool.
Ask your AI tool to find your flow.
Tell your AI tool that you want to update that flow.
Enter this prompt.
create flow tests
Agentforce for Flow Headless analyzes your flow and logic branches, and returns
a structured list of proposed test scenarios in your console.
Review the proposed test scenarios in your chat.
Approve the proposed test scenarios.
Agentforce for Flow Headless builds the test scenarios, adds them to your flow,
checks that they're valid, and runs them.
To review the test scenarios in Flow Builder, open the URL provided in your
terminal.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.