Add a human approval step to an AI automation

Put approval before the consequential tool call. Configure the reviewer, show the pending action, and check denial, silence, edits, and retries.

A sealed envelope waits behind a blue stop on a desk rail.

In n8n, open an AI Agent’s Tools connector, add Human review, and connect each consequential tool to that review step. This puts approval before a send, update, or deletion. A prompt asking the AI to “check with me first” cannot enforce the same boundary.

There are two useful patterns. If an AI Agent chooses which tool to call, attach Human review to the consequential tools. For a fixed draft → review → send sequence, use an approval node followed by an explicit decision branch.

You need an editable n8n workflow, credentials for the action and review channel, and a reviewer who can access the request. I’d start with one action and a test destination so the reviewer can check the whole path.

Gate a tool chosen by the agent

Follow the native tool-review setup:

  1. Open the AI Agent’s Tools connector to display the Tools Panel.
  2. Choose Human review, select a review channel, and configure its credentials and settings.
  3. Connect the tools requiring approval to the review step’s tool connector.
  4. Inspect other tool connections. Each consequential action should pass through review unless you have deliberately authorized it to run without a person.
Human review menu in n8n with Chat, Discord, Gmail and Google Chat.
Choose an approval channel in Human review, then connect the tools that must wait for a decision.

You can gate selected tools or all tools connected to an agent. The approval channel can differ from the main conversation: a user might chat with the agent while a reviewer decides in Slack. The documented choices also include Chat, Discord, Telegram, Teams, Gmail, WhatsApp Business Cloud, Google Chat, and Outlook.

Approval executes the tool with the AI-specified input; denial cancels that action. Explain the review arrangement and denial response in the agent’s system prompt. Keep the connector gate in place. Asking a person for help when an agent cannot answer is a separate human-fallback pattern, not approval for a later external action.

Make the pending action visible

Show the recipient or target record, the proposed change, and its consequence. For an email, include the subject and full body. “Approve this message?” leaves too much hidden. Use a test case such as DEMO-104 rather than a real customer record while checking the setup.

In native tool review, $tool.name gives the tool’s canvas name. $tool.parameters contains the tool’s input-schema parameters, including fields filled through $fromAI(). A fixed recipient or destination may sit outside those AI-supplied inputs, so include that target explicitly in the review message too. Keep credentials and unrelated customer information out.

For the native review message, start with the documented expression, then include any fixed destination explicitly:

The AI wants to use {{ $tool.name }} with these parameters:
{{ JSON.stringify($tool.parameters, null, 2) }}

If the reviewer asks for a revised price, recipient, or paragraph, request approval again for the revised action. Feedback is not permission to send whatever the agent generates next. This matters even when the first draft and the final draft belong to the same conversation.

Configure a named reviewer in Slack

The Slack approval node provides a concrete identity-aware route. Select Message → Send and Wait for Response and set Response Type to Approval. Under Advanced Interactivity, enable Capture Who Responded and fill Restrict Who Can Approve with the intended users.

An empty approver list allows anyone who can see the message to respond. A nonempty list controls responses, not visibility. Use a private channel or direct message for sensitive proposals. An unauthorized click receives a private notice and leaves the execution waiting.

Capture Who Responded switches to interactive Slack buttons and records identity. With that setting off, the legacy signed-link route permits anyone holding the link to respond and does not identify the person. A signed URL protects the URL’s action from tampering; it does not establish your reviewer’s identity.

For interactive approvals, complete the Slack app configuration before checking the workflow:

  • Make the n8n instance reachable from Slack over public HTTPS.
  • Enable Interactivity & Shortcuts. Set its Request URL to https://<instance>/webhook-waiting-slack, adjusting the path if N8N_ENDPOINT_WEBHOOK_WAIT was changed.
  • Put the app’s Signing Secret into the n8n Slack credential’s Signature Secret field. Visible buttons alone do not establish that callbacks work.
  • Use a separate Slack app for another n8n instance: each app has one interactivity Request URL.

Add users:read and users:read.email if the output should include the reviewer’s email. Reconnect an older OAuth2 credential so it picks up the email scope. Missing email does not by itself mean approval failed. Later clicks after a recorded decision do not replace that first decision.

For a fixed sequence, branch on explicit approval

For a fixed draft → Slack approval → send sequence, put an IF node after approval. The Slack documentation shows the decision at data.approved:

  1. Keep the recipient, subject, and full body together as the pending draft. Show those exact values in the Slack review message.
  2. In the IF condition, switch the value field to Expression and enter {{ $json.data?.approved === true }}. Choose Boolean → is true.
  3. Connect only the IF node’s true output to the send node. Keep denial and any result without explicit approval away from the send.
  4. Map the send node to the saved draft shown in the request. Do not insert an unreviewed rewrite between approval and sending.

Inspect the actual Slack node output when checking that condition. The expression accepts only the boolean true; a missing data object or approval field evaluates to false. The Slack response can also include a response time, channel, message identifier, and responder details. Another channel need not use the same output structure.

Set a deadline and decide who handles silence. My default for a customer-facing send, record update, or deletion is to stop the action and notify its owner. Escalation can request a fresh review. It should not silently convert “nobody answered” into permission.

Check channel and waiting constraints

A resumed execution is not necessarily an approved execution. The Wait node can resume at a configured condition or time limit. Its runtime resume URL is unique to an execution, and partial executions can change it. A custom callback needs appropriate authentication, a link to the correct pending request, and an explicit decision check.

n8n stores paused Wait execution data in its database, except for time-based waits shorter than 65 seconds. Persistence still does not identify a reviewer, establish an unexpired decision, or stop a changed payload from being sent. A custom approval form is a separate implementation project, with those responsibilities intact.

For the Chat node, the Chat Trigger must use Using Response Nodes. Chat is not supported in embedded mode, as a subagent tool, or in a subworkflow. Send and Wait for Response pauses; with Block User Input off, a typed custom response counts as disapproval. Check these channel-specific limits before choosing a review route.

Try the ways approval can fail

Use harmless data and a test destination to check six outcomes:

  1. Approve: the displayed action runs once with the displayed values.
  2. Deny: the action does not run and the agent explains the rejection.
  3. No response: the deadline stops or escalates the request without sending.
  4. Wrong reviewer: a person outside the allowlist cannot authorize the action.
  5. Changed proposal: edited content or targets return for a new decision.
  6. Retry: a repeated execution does not unknowingly repeat an external effect.

For that final check, inspect the destination before rerunning. n8n’s execution debugging loads past data into the current workflow; it does not prove that sending or updating again is safe. Keep a request identifier and approval outcome with the action’s operational record, and verify the destination’s duplicate-handling behavior.

Once one action passes those checks, add review to the next consequential tool. Continue with the coding and automation guides for other workflow problems.