Free local n8n guard generator
Stop a green workflow from hiding a failed AI-agent tool.
Define the one non-secret value that proves a tool completed. Generate
a fail-closed n8n Code node that throws when that evidence is absent
and emits a versioned _ardToolReceipt when it is present.
Local receipt-guard result
Fail-closed artifacts
What the local check found
Generated guard behavior
- Reads every input item with own-property path checks.
- Throws on missing or empty required evidence.
- Throws on missing correlation evidence when configured.
-
Emits
_ardToolReceiptwithout copying the success-evidence value.
This is static, local evidence only—not production proof. Confirm the Code node's placement, run the published production path, and reconcile the receipt against the real external outcome. A present field can still be stale, fabricated, or semantically wrong.
Request the $1,000 rescueDeploy with a real proof contract
A receipt is a checkpoint, not the outcome itself.
-
01
Choose evidence after the side effect
Prefer a created record ID, acknowledged message ID, stored object version, or another response that the successful tool call alone produces.
-
02
Place the guard immediately after the tool
Do not let a catch, merge, or continue-on-error branch convert the tool failure into a green downstream path before the evidence check runs.
-
03
Reconcile outside the workflow
Independently verify the record, message, file, payment, or other outcome. Static path presence cannot prove a deployed workflow or external system behaved correctly.