Check an existing n8n workflow before running it
inspect_workflowRead an existing n8n workflow JSON (a template from n8n.io, an export, anything) and say what it would do before it runs: every node's label (read-only / reversible / irreversible, computed from the node's own resource + operation), which irreversible steps (send, post, delete, pay) would run with nobody asked, which steps already have an approval in front of them, and which nodes have no account connected. With add_gates=true it returns a copy of the workflow with a one-tap Approve / Decline step (Slack, Telegram, Gmail…) wired in front of every such step. Nothing is run; the original is not modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ask_via | No | Where the Approve / Decline message goes. | gmail |
| workflow | Yes | The n8n workflow JSON (nodes + connections), as exported or as a template's JSON. | |
| add_gates | No | Also return `gated_workflow`: a copy that asks before every irreversible step. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| gated | No | ||
| nodes | No | every node: app, label, why, gated, has_account | |
| risky | No | irreversible nodes with no approval in front | |
| counts | No | nodes per label | |
| to_fill | No | ||
| verdict | Yes | one line: what would run without asking | |
| verified | No | ||
| gated_workflow | No | only with add_gates: the workflow with Approve/Decline gates added | |
| accounts_missing | No |