{
 "schema_version": 1,
 "generated": "2026-10-25",
 "id": "n8n-io-n8n--build-an-ai-agent-workflow-with-human-approval",
 "repo": "n8n-io/n8n",
 "repo_url": "https://github.com/n8n-io/n8n",
 "repo_slug": "n8n-io-n8n",
 "title": "Build an AI agent workflow with a human approval step",
 "page_title": "How to build an AI agent workflow with a human approval step with n8n",
 "summary": "Chain a trigger, a model step, tools and an approval so the agent drafts and a person signs off before anything goes out.",
 "who": "A team that wants AI to do the busywork on emails, tickets or leads but never act without a check.",
 "problem": "Fully automatic AI flows are risky and fully manual work is slow.",
 "outcome": "A multi-step workflow where the AI step proposes an action and waits for approval before the final step runs.",
 "steps": [
  "Start from a template in the 9,000+ workflow library or a blank canvas",
  "Add a trigger, then an AI step using OpenAI, Anthropic, Google or an open-source model",
  "Give the agent tools from your integrations",
  "Insert a human approval step before any step that sends or changes data",
  "Run it on test data and read the execution log before turning it on"
 ],
 "agent_prompt": "In my n8n-io/n8n instance, build a workflow that triggers on <event>, uses <model> to draft <output>, waits for my approval, then <final action>. Explain each node and where credentials are stored.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "typescript",
 "requirements": [
  "Docker for the self-hosted quick start",
  "Accounts or API keys for the apps and models you connect"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Each connected app stores its credentials in n8n; restrict who can open the instance."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/n8n-io-n8n/build-an-ai-agent-workflow-with-human-approval/",
 "md": "https://dedupedai.com/use-cases/n8n-io-n8n/build-an-ai-agent-workflow-with-human-approval/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/n8n-io-n8n--build-an-ai-agent-workflow-with-human-approval.json",
 "api_version": "v1"
}
