Production AI Playbook: Human Oversight (Exercise 2)
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (5)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Chat Hitl Tool
@n8n/n8n-nodes-langchain.chatHitlTool - Code Tool
@n8n/n8n-nodes-langchain.toolCode
What it does
Gate high-risk AI actions behind human approval. This template shows how to prevent an AI agent from executing sensitive operations (like sending contracts) without a human signing off first. What you'll do - Ask the AI agent to send a contract to a customer. - See the agent pause and present the intended action for review in the chat. - Approve or decline the action and watch the workflow respond accordingly. What you'll learn - How HITL (Human-in-the-Loop) for Tool Calls works in n8n - How to add a human review gate between an AI Agent and its tools - How the agent displays its intended action and waits for approval before executing - How to selectively gate high-risk tools while letting low-risk tools run freely Why it matters AI agents with tool access can take real-world actions. One wrong API call, one incorrect email, and you have a problem. This pattern ensures humans stay in control of the actions that matter while letting safe operations run automatically. This template is a learning companion to the Production AI Playbook, a series that explores strategies, shares best practices, and provides practical examples for building reliable AI systems in n8n. Link to blog