AI Help
Why does my AI workflow show success when a tool call failed?
A completed agent step can still contain a failed tool outcome. Check the tool’s actual result and make the workflow fail or branch when a required action is unconfirmed.
Steps to follow
- Open the saved execution and identify the required tool response separately from the agent’s final summary.
- For a tool you own, expose an explicit success flag or confirmed record ID. Add a workflow branch that checks that value outside the model.
- In n8n, use Stop And Error when the workflow should fail and configure an error workflow if you need an alert. Test with a controlled failure before enabling writes.
Example in practice
Fictional example: a CRM lookup times out and the agent writes a plausible summary. The workflow routes the item to review because there is no confirmed lookup result.