Human-in-the-Loop AI: How It Works, with an Approval Example
TL;DR
An approval button is only the start. Define what the person sees, which proposal they approve and what happens when the facts change or execution fails.
Human-in-the-loop AI places a person at a defined point in an automated workflow to review, correct or approve a proposed result. For consequential actions, the review must happen before execution and apply to the exact proposal being executed. An approval button alone does not enforce that boundary.
An AI assistant drafts a customer refund. A manager clicks approve. Before the payment runs, somebody changes the bank details. Has the manager approved the new payment too?
That small question exposes the difference between adding an approval button and designing a working human-in-the-loop process. The person needs to see the proposed action, have authority to reject it and know that the system will execute exactly what they reviewed. If the facts change, the decision may need to be made again.
Human-in-the-loop AI means involving a person at a defined point in an automated process. It can include labelling training data or reviewing model outputs; IBM's overview covers that broader meaning. This guide focuses on business workflows: where to pause, what the reviewer needs and what happens after the decision.
Put the person before the consequence
Map the actions your application can perform, rather than treating the entire assistant as either autonomous or supervised. Reading an order, suggesting a reply and issuing a refund are different permissions.
| Proposed activity | Possible control | What to establish first |
|---|---|---|
| Draft an internal summary | Sampling and correction may be sufficient | Who uses it and what an error could affect |
| Send a customer-facing message | Review before sending where consequences justify it | Evidence, recipient and exact text |
| Change a customer record | Approval for consequential or uncertain changes | Current value, proposed value and authorised role |
| Issue money or change payment details | A separate controlled workflow | Identity, destination, amount and policy |
These are design options, not a universal permission policy. A summary can itself be consequential if somebody relies on it for an important decision. Assess the downstream use, reversibility and ability to detect a mistake before deciding that sampling is enough.
OWASP's guidance on excessive agency recommends approval before high-impact actions and authorisation checks in downstream systems. An instruction in the model's prompt is not a substitute for the code and permissions that enforce the boundary.

A refund example: approve the exact proposal
Consider a fictional support workflow. It is a design exercise, not a client implementation or a production-tested payment system.
A customer requests a £120 refund for order R-204. The assistant retrieves the order and proposes a refund to the original payment method. A reviewer receives a card containing:
- The customer and order identifiers, with access limited to the appropriate team.
- The requested £120 amount and the amount still eligible for refund.
- The proposed destination: the original payment method, with a safe display identifier.
- The policy version and source evidence used to make the proposal.
- Missing or conflicting information, shown separately from the recommendation.
- The exact action, its expiry and the available approve, reject or request-information choices.
The approval should refer to a specific proposal version. It must not authorise any refund that the assistant might generate later in the conversation. Changing the amount, destination or relevant order state invalidates that approval and triggers another check.
The reviewer does not need a transcript of every intermediate model step. They need verifiable evidence and a clear account of the proposed consequence. A fluent explanation without the underlying order record leaves them checking prose rather than the decision.
Give the workflow explicit states
A useful starting sequence is proposed → awaiting review → approved → executing → completed. Rejection, expiry, requests for information and uncertain execution results need their own paths.
Do not use a single “done” flag for both human approval and successful execution. A reviewer can approve a proposal that later fails a permission check. An external service can accept an action while the local application loses the response. Those situations require different handling.
Before execution, the application should re-check the relevant business state and the reviewer's authority. If an order has already been refunded, the old approval should not cause another payment. If the reviewer no longer has the required role, the system must not infer continuing permission from an old click.
Persist the proposal and decision so that a restart does not lose the pending work. Store the reviewer identifier, timestamp, proposal version and reason for rejection or amendment. Protect that record according to the information it contains; an audit log can expose customer data too.
Make waiting and repeated clicks predictable
What happens when nobody responds? Decide that before going live. Depending on the workflow, a pending item might expire, escalate to another authorised person or remain blocked. Silence should not quietly become consent because the queue is inconvenient.
Design duplicate handling around the business action. Two approval clicks or a restarted worker must not execute two refunds. Use a stable action identifier and a reliable record of execution; where the receiving API supports idempotency, follow its documented contract. An identifier alone does not solve every failure mode, especially if state expires or the external outcome is unknown.
LangGraph's interrupt documentation illustrates a pause-and-resume mechanism with persisted state. It also explains that resuming restarts the interrupted node, so code before the interrupt can run again. That is a concrete reason to keep side effects carefully separated from review and to make repeated execution safe. The surrounding authorisation, expiry and business rules remain your application's responsibility.
Do not confuse confidence with permission
A model saying it is “95% confident” does not establish that a proposed action is allowed. Permission comes from the user, business policy and access controls. Confidence, where meaningfully evaluated, can help decide which cases need additional examination.
Prefer review triggers that a team can inspect. Examples include missing source evidence, conflicting account identifiers, a changed destination, an amount outside a permitted range or a request that the workflow does not support. Combine these with evaluation results rather than treating one score as a complete risk model.
Keep blocked actions blocked even if a model produces persuasive reasoning. If the process cannot send money to a new destination, a high confidence score must not create that capability. Our AI agents and chatbots comparison explains why access to actions changes the design problem.
Check whether the team can actually review the queue
A control that nobody has time to use will fail operationally even if the software behaves as designed. Estimate arrival volume, review duration and staffing coverage, then measure them during a controlled rollout.
For a fictional capacity calculation, assume 600 cases a day, with 15% requiring review and four minutes per review. That creates 90 reviews and six hours of review work daily. If two reviewers can each provide two uninterrupted hours, available capacity is four hours. The shortfall is two hours, equivalent to 30 reviews at the assumed speed, before interruptions or unusually difficult cases.
This calculation does not predict queueing delays or prove a staffing requirement. It exposes an assumption that needs testing. Peaks, absence and case complexity matter; averages can hide a backlog that develops at the end of every working day.
Do not “solve” that backlog by removing review from cases that still need it. Reduce the workflow's scope, improve the evidence shown, add suitable capacity or keep more work in the existing manual process.
Test the review boundary, not just the happy path
Use a sandbox and synthetic records to test the state transitions before connecting consequential tools. The following cases are proposed acceptance tests; they have not been run against your application.
| Test | Expected behaviour |
|---|---|
| Amount changes after approval | Previous approval cannot execute the altered proposal |
| Reviewer lacks the required role | Approval or execution is rejected by the application |
| The same approval is submitted twice | One business action, with a clear duplicate outcome |
| Nobody responds before expiry | The recorded expiry policy runs; no assumed approval |
| External action succeeds but response is lost | Outcome is reconciled before another action is attempted |
| Evidence cannot be retrieved | Missing evidence is visible; the defined escalation applies |
Also test a reviewer who rejects the recommendation. The system should record that decision without repeatedly pushing the same proposal back into the queue. A request for more information should preserve why it was needed, rather than starting an unrelated case that loses the history.
Measure corrections and disagreement during rollout. Fast approvals can indicate a clear interface, but they can also indicate rubber-stamping. Review a sample of decisions against the original evidence to understand which explanation fits.
Write one approval contract before expanding
Use the human review worksheet to define one action, its evidence, reviewer role, expiry, version rules and failure paths. It includes the fictional refund example and a blank version for your own workflow.
The result should be specific enough for someone to answer: what may happen without a person, what requires a decision, and what must never happen through this tool? If those answers remain vague, adding another model or another reviewer will not resolve the underlying ambiguity.
For help implementing that boundary, bring the completed worksheet to an AI workflow automation discussion. A useful first release handles one bounded job, shows the person the right evidence and stops predictably when the decision cannot be made.