Agentforce · Flow
Research draft · Findings not yet published
Why an agent works in the test panel but fails from Flow
An agent reportedly returns the expected response in its test panel but fails when invoked with the same input from Flow; the original question lacks the exception details.
This page is a starting point for my own investigation. It does not yet provide a tested solution.
Read the original community question ↗What I’ll investigate
- Collect the exact exception and debug logs before attributing a cause.
- Compare execution user, permissions, input mapping, and invocation context.
Research findings
Pending research. I’ll record the reproduction, org prerequisites, release version, and relevant official documentation here.
Solution or simplified workaround
Pending validation. I’ll explain when to use it, the smallest steps, the expected result, limitations, and how to undo it.
Validation
Not yet tested. I’ll document normal and failure cases, the intended user’s permissions, and bulk or retry behavior where relevant.
Could this become a reusable tool?
A focused troubleshooting guide.
An idea to evaluate after testing the simplest supported solution and checking existing Salesforce features.