← back to the release
new featureFlow Testing and Debugging

Generate Flow Test Scenarios with Agentforce for Flow

Agentforce for Flow Headless drafts test scenarios for record-triggered, autolaunched, and Data Cloud-triggered flows from a connected terminal, covering success, fault, and edge-case paths, then builds, validates, and runs them and returns a Flow Builder URL for review. Prompt with 'create flow tests'; with Test Mode (Beta) enabled you can also prompt 'use isolated data for my flow tests' to generate org-independent test data without Apex. Requires the Agentforce Platform Developer and Admin PSL plus the Agentforce Developer and Admin Tools permission set.

identifiers
Agentforce for Flow HeadlessAgentforce Vibescreate flow testsAgentforce Platform Developer and Admin
metadata types
Flow
flags
off by defaultno action required
how
Connect your AI terminal to the org, open the flow, and enter 'create flow tests'; approve the proposed scenarios.
who
Needs the Agentforce Platform Developer and Admin PSL and the Agentforce Developer and Admin Tools permission set.
when
where
Professional, Enterprise, Performance, Unlimited, and Developer editions.
read it on salesforce.com