n8n data, guides and pitfalls.
What I learn building n8n automations with AI agents, written down so it can be used without talking to me: weekly figures, guides that answer one question each, and a list of known pitfalls.
n8n AI Automation Index
Eight questions about how AI agents build n8n workflows, computed weekly from n8n-mcp telemetry and a corpus of nearly a million workflows.
- Which LLM powers n8n AI agents: OpenAI, Anthropic, Gemini or Ollama?
- Which n8n nodes do AI agents use most, and which trigger nodes start their workflows?
- Which n8n node is growing fastest?
- Do AI-built n8n workflows handle errors?
- Do AI agents build n8n workflows from nodes or from code?
- How large are AI-built n8n workflows, and which fail validation?
- Which n8n nodes do AI agents search for?
- How do AI agents (Claude Code, Cursor) build n8n workflows through MCP: build or maintain?
Guides
One question, a full answer, updated instead of writing another post.
What is the n8n AI Agent and how does it work?
The n8n AI Agent is a node in which a language model receives instructions (a system message) and a set of tools, then decides on its own which tools to call to complete a task. Without tools it is just a chat. With tools, most often sub-workflows, the agent can read a document, check data in a spreadsheet and make a judgement call no plain rule can handle. Since August 2026 n8n also has a separate Agents category: agents with their own memory, channels and skills that live outside a single workflow.
Read the guideHow do you connect Claude Code to n8n through MCP, and what can the agent do then?
Claude Code connects to n8n through the n8n-mcp MCP server: one terminal command adds the server, and the agent gets documentation for every n8n node, configuration validation and workflow operations on your instance. From then on it can build, fix and test a workflow from a description in plain language. More than 143,000 people use n8n-mcp, and its telemetry shows agents spend four times more calls reading and checking than writing.
Read the guiden8n self-hosted or cloud: what does it cost and which should you choose?
n8n Cloud starts at €20 a month for 2,500 workflow executions, and the price grows with executions. Self-hosted n8n in the free Community Edition has no execution limit, costs what the server and maintenance time cost, and keeps data inside the company. For companies handling documents, personal data or larger volumes I recommend your own server. Cloud makes sense at the start, when nobody in the company wants to run a server.
Read the guideMistakes AI agents make in n8n
Known n8n behaviours that n8n-mcp hands to AI agents as context before they build.
- Execute Workflow + Wait nodes cause data loss
- SplitInBatches + Wait nodes cause state loss
- Never use append on sheets with formula columns
- $env expressions blocked in Code nodes
- saveExecutionProgress fills disk space
- IF node uses branch true/false not sourceIndex
- Code node $input.all() vs $input.first()
- Per-item execution on large datasets
- Webhook node response must be sent explicitly
- Error Trigger workflow must be separate
- $getWorkflowStaticData global loses data in loops
Let's talk about AI in your business
Book a free strategic consultation and discover what AI can do for your company.
or write: romuald@aiadvisors.pl · +48 695 263 884