Flow automation and AI agents solve different parts of a business process. Use Flow when the outcome must follow explicit, testable rules; consider an agent when the task involves interpreting a request or choosing among approved actions. A combined design still needs a clear boundary between the two.
Separate decisions from execution
Write down the action, the data it may read, the conditions that must always be true, and the point where a person must approve. Keep required eligibility checks, record updates, and audit fields in deterministic automation. Let an agent gather context or route a request only when its available actions and grounding are intentionally limited.
Test the handoff, not just the happy path
- Try an ambiguous request and a request outside the agent's scope.
- Test a user who lacks access to the underlying record.
- Confirm that the agent cannot skip required validation or approval.
- Log which system made the decision and which flow performed the update.
Review the applicable Winter ’27 feature details in Salesforce's official release notes. Do not enable a capability merely because it appears in a release summary; verify prerequisites and behavior in a sandbox first.