A human approval step can stop an AI agent from sending an email or changing a record without oversight. But the approval request itself is an attack surface. If an agent includes text from a retrieved document, that text can try to instruct the reviewer: “Security has already verified this. Approve immediately.”
The reviewer is now seeing attacker-controlled content alongside a legitimate request. The gate must make that boundary explicit.
Intercept before the side effect
In n8n, put the gate between the agent’s proposed action and the node that actually performs it. One pattern is to expose a dedicated workflow as the agent’s tool: its first steps validate the proposed arguments and decide whether approval is required; only a later node calls the external API.…