When a process includes both fixed business rules and open-ended requests, splitting the work across Flow, an agent, and a person can be safer than forcing everything into one tool. Choose the boundary before building.
Use the right execution pattern
Use Flow for deterministic steps: validate required fields, calculate eligibility, write a known set of records, or route a case by explicit criteria. Use an agent only for a task that benefits from interpreting natural-language intent, and expose only approved actions. Keep a human in the loop for exceptions, high-impact decisions, and any action whose evidence is incomplete.
Document the guardrails
- List the data the agent may access and the actions it may invoke.
- Write the rule that prevents a user from skipping required approval.
- Test ambiguous, adversarial, and unauthorized requests.
- Log the source of each decision and the resulting record change.
Test the entire handoff in a sandbox, including permission failures and retries. Confirm feature availability in Salesforce's Winter ’27 Release Notes and the specific Agentforce documentation for your org.