Human-in-the-Loop AI: Add Approval Steps to Agents and Workflows
An AI model that drafts a reply in two seconds is useful. The same model sending that reply straight to a customer, with no one having read it, is a risk. Human-in-the-loop (HITL) is the simple idea in between: the AI prepares the work, a person approves it, and only then does the action happen.
This guide explains when an approval step is worth the delay, three patterns you can copy, how to build one in n8n, what to do when nobody answers, and how to decide later that you can loosen the checks.
What this article is, and is not
This is a pattern guide with a worked n8n example. It contains no benchmark numbers and no client results. The thresholds I suggest (such as a confidence cut-off or a sample rate) are starting points to adjust, not industry standards. n8n changes node names and options between versions, so check the current documentation for the exact settings before you copy a setup.
When approval is worth the delay
Every approval step costs time, and someone has to do the reviewing. Add one only when a wrong action is expensive. Ask three questions about the action the AI is about to take:
- Can it be undone? A draft saved in a CRM can be edited. An email sent to a customer, a refund, or a deleted record cannot be taken back.
- Who sees it? An internal note has a small audience. A message to a customer, a public post or a legal notice does not.
- What does a mistake cost? Think about money, trust and time to fix, not only the average case but the worst one.
| Action | Reversible? | Suggested approach |
| Tag a ticket or suggest a category | Yes | No approval. Spot-check later. |
| Draft an internal summary | Yes | No approval, or a light sample audit. |
| Reply to a customer | No | Approve before send, at least at the start. |
| Issue a refund or change an order | Hard | Always approve. |
| Delete data or change permissions | No | Always approve, and do not let the AI do it alone. |
If a task is low risk and high volume, approving every item is a waste of people's time and they will start clicking "yes" without reading. Keep approval for the cases where it matters.
Three patterns
1. Approve before send
Every output waits for a person. The AI writes a draft, the draft goes to a reviewer, and the action runs only after approval. This is the safest pattern and the right way to start any customer-facing automation, because it shows you how often the AI is wrong before it can hurt anyone.
2. Approve on low confidence or high risk
Most items go through automatically. Only some are held for review: those where the AI is unsure, or where the content matches a risk rule. Language models do not give a reliable "confidence score" on their own, so build the signal yourself from things you can check:
- The reply mentions money, a refund, a legal term or a complaint.
- The customer is flagged as high value, or the message is angry.
- The answer was not grounded in a document you retrieved.
- A second, cheap check (a classification step or a simple rule) disagrees with the draft.
- The order value is above a limit you set.
Treat these as routing rules. When any rule fires, send the item to a person. When none fire, let it through.
3. Sample audit
Items are sent automatically, but a person reviews a random sample after the fact. This does not stop a bad message from going out. It tells you how often one happens. Use it only for low-risk actions, or after pattern 1 or 2 has shown the AI is reliable. A common starting point is to review a small fixed share of items each week and increase it if you find problems.
Building an approval step in n8n
The shape of the workflow is the same whatever tool you use:
- A trigger receives the request (a new email, a form, a WhatsApp message).
- An AI step produces a draft or a proposed action.
- The workflow stores the draft and sends it to a reviewer with Approve and Reject options.
- The workflow pauses until the reviewer responds.
- An If node branches: approved items perform the action, rejected items stop or return to the AI with feedback.
- Everything is logged.
n8n gives you two ways to do the pause. Check the current docs for which apps and options your version supports.
- Send and wait for response. Some messaging and email nodes can send a message and hold the execution until the recipient answers. This is the quickest way to get an approval working, and it can offer a simple approve or disapprove choice.
- Wait node with a webhook resume. You send the reviewer a link yourself, for example in a Slack message, an email or a page in your own admin panel. The link calls the resume URL of the paused execution. This gives you full control over the review screen, which is useful when the reviewer needs to edit the draft before approving.
Whichever you choose, keep these details right:
- Show what will happen, not only the draft. The reviewer should see the customer, the proposed message and the action it triggers (for example "Send email" or "Refund 40 USD"). Hiding the action makes careless approvals more likely.
- Let the reviewer edit. A reviewer who can fix one sentence will approve far more often than one who can only accept or reject. Send the edited text onward, not the original.
- Protect the approve link. A link that approves an action is a credential. Make it unguessable, single-use and tied to one execution. If the review happens in your own app, require login. Do not send raw approval URLs to channels where outsiders can read them.
- Approve once only. If a reviewer double-clicks, or two reviewers answer, the action must not run twice. Record the decision and ignore later answers.
- Save the pending state. Long pauses should not depend on one running process. Store the draft and the decision in a database or sheet, so a restart does not lose the queue.
A simple review record
Whatever tool you use, store one row per decision. This gives you the audit trail and the data you need later to measure the AI.
| Field | Why you need it |
| Request id and time | Find the case again. |
| AI draft | See what the model proposed. |
| Final text sent | See what actually went out. |
| Decision (approved, edited, rejected) | Measure how often the AI is right. |
| Reviewer and time of decision | Accountability, and response-time tracking. |
| Reject reason (optional, short list) | Find the most common mistakes to fix in the prompt. |
Timeouts and escalation
A paused workflow with no answer is a stuck customer. Decide in advance what happens when nobody responds:
- Set a time limit. Both the send-and-wait nodes and the Wait node can resume after a limit, so the workflow does not hang forever.
- Remind first. After a short period, send a reminder to the same reviewer.
- Escalate next. After a longer period, send the item to a second person or a team channel.
- Fail safe at the end. If the limit passes with no answer, do not default to "approve". Default to the safe option: hold the item, tell the customer you are looking into it, or hand the case to a person. Never let silence mean permission.
Match the limit to the work. A support reply may need an answer in minutes. A weekly report can wait a day. Say so in the workflow so the reviewer knows how urgent each item is.
Measuring when you can loosen approval
Approval should not be permanent for everything. Use the review records to decide, with evidence, when to ease it:
- Approval rate without edits. If reviewers approve nearly every draft unchanged for a sustained period, the step is adding delay without adding safety for that category.
- Type of edits. If the edits are small wording changes, the risk is low. If they fix wrong facts, keep the approval.
- Cost of the rare mistake. One bad refund can outweigh a hundred saved reviews. Weigh severity, not only frequency.
Loosen one category at a time. Move from pattern 1 to pattern 2 (approve only the risky ones), then to pattern 3 (sample audit) for the safest category. Keep the audit sample running so you notice if quality drops after a prompt or model change, and move back a step if it does.
Common mistakes
- Approval fatigue. Sending every trivial item to a human until they stop reading. Route only what needs judgment.
- Approving without context. A draft with no customer history or source gives the reviewer nothing to check it against.
- Silent defaults. Treating a timeout as an approval.
- No record. Without stored decisions you cannot prove what happened or improve the prompt.
- Trusting the AI to approve itself. A second model can be a useful filter, but it is not a substitute for a person on high-risk actions.
Summary
Use human approval where a wrong action is hard to undo and visible to customers. Start by approving everything, move to risk-based routing as you learn how the AI behaves, and use sample audits only for low-risk work. Build the pause so that the reviewer can see the action and edit the draft, make the approve link safe, handle silence with a safe default, and record every decision. Those records are what let you loosen approval later with confidence.
If you are still deciding whether you need an agent at all, read AI Agent or Plain Workflow? How to Decide Before You Build first.