Frameworks & tools

Add a human approval step to n8n AI workflows

Drop a ClearedBy node between your n8n AI Agent and the action it wants to run. Routine calls clear in milliseconds and the execution carries on. The refund, the deploy, the public post: those pause for a named person, and every verdict is sealed.

request_clearancecb.guard({ action }, fn)refund.createcontent.publishad.launch
your agent cb.guard() cleared

The problem

n8n makes it a five-minute job to hand an AI Agent node real tools. A refund call, a Slack post, a Meta budget bump, an HTTP Request that hits production. Then the workflow runs on a cron or a webhook with nobody watching, and the model picks which tool to fire and with what arguments. So the first you hear of a £4,000 refund.create on a £40 order, or a content.publish that shipped a half-finished draft, is when it has already happened. The native "Send and Wait" node doesn't really fix this: it pauses on everything you route into it, so you're choosing between gating nothing and grinding every run to a halt.

The n8n-specific snag is that the AI Agent node decides at runtime. A Switch or IF branch can read a value, but it can't hold an action for a real person, prove who signed it, or stop the agent calling the next tool regardless. What you want is the agent firing the routine stuff itself and only the consequential few pulled out for sign-off — by amount, by tool, by anomaly — without you hand-building a queue, a notifier and a tamper-evident audit trail inside n8n.

How ClearedBy handles it

  1. 01

    Drop the approval step in before the action

    Add ClearedBy from an HTTP Request node, the community node, or as a tool on the AI Agent node. Pass the proposed action and its context; the step blocks the execution until there's a verdict. No separate queue to wire up in n8n.

  2. 02

    Your policy decides

    Actions inside your rules clear in milliseconds and the workflow keeps running. Cross a line — a threshold, a flagged tool like payout.send, a value that doesn't match this workflow's norm — and it's held for a named reviewer instead.

  3. 03

    A person clears the rest

    Held actions land in Slack and a fast keyboard-driven queue. The reviewer approves, rejects or sends it back from their phone, and the paused n8n execution resumes the moment the verdict lands.

  4. 04

    Every run is on the record

    Cleared, auto-cleared or rejected, each action is sealed into a hash-linked record bound to the person who signed it. An unattended 3am run is now something you can account for after the fact.

n8n · ClearedBy Gate node
Add the ClearedBy Gate node before the refund step:

  Action:   refund.create
  Payload:  All Item JSON      (your policy reads e.g. amount)
  Mode:     Enforce            (Shadow never blocks)

Cleared items leave the "Cleared" output. A held one pauses the run —
no compute used — until a reviewer decides in Slack, then it resumes
on its own. Every item carries the verdict:

  { "clearedby": { "status": "cleared",
                   "decided_by": "policy:auto",
                   "rule": "refund.create amount<=500",
                   "hash": "9f3c…" } }

FAQ

Do I need the community node, or will an HTTP Request node do?

Either. Call request_clearance from a plain HTTP Request node, or install the ClearedBy community node for a typed step with the fields laid out. Both pause the execution until there's a verdict.

Can I gate one tool on the AI Agent node instead of pausing the whole branch?

Yes. Wrap the tool with guard() so the agent only fires it once it's cleared, rather than halting the entire workflow. The agent still decides when to act; the gate decides whether it may.

How is this different from n8n's Send and Wait approval?

Send and Wait pauses on everything you route through it. ClearedBy runs your policy first, so the routine clears on its own and only the consequential few percent ever wait — and each one is sealed to a signed record, which Send and Wait gives you nothing of.

Does a paused execution time out or tie up a worker?

The approval call blocks until a verdict, and you set how long a hold can sit before it escalates or expires. Reviewers clear from Slack in seconds, so holds rarely linger.

Can the agent skip the step and run the action anyway?

No. The short-lived credential to perform the action is only issued after clearance, so there's no path around the gate — even if the workflow is re-run or the agent misbehaves.

Related use cases

Let your agents run. Inside the rules you set.

Drop a ClearedBy node between your n8n AI Agent and the action it wants to run. Routine calls clear in milliseconds and the execution carries on. The refund, the deploy, the public post: those pause for a named person, and every verdict is sealed.