GuideIntermediate

AI Chatbots and Agents with n8n

Build AI chatbots and agent systems that converse, remember, take action on real systems, and delegate tasks to each other, using n8n 2.x's native AI Agent node visually, with no code frameworks (and knowing when n8n's Agents feature, in Preview as of October 2026, is the better fit). The guide covers the full agentic loop: choosing a model and writing the system prompt, giving the agent persistent memory, connecting it to tools on real systems (Gmail, Sheets, databases, MCP servers), designing multi-agent systems with the orchestrator-worker pattern, and shipping it to real channels like web chat, WhatsApp, Telegram, and voice. It closes with agent security (prompt injection, trust boundaries, human-in-the-loop) and a multichannel customer support project, defendable in an interview and portfolio.

lessons
64
modules
8
available in
English · Spanish
access
Free
Outcomes

What you'll be able to do

  • Tell agents, chatbots, and procedural AI apart, and understand the agentic loop (reason, act, observe) of the native AI Agent node
  • Choose a current model and provider (Anthropic, OpenAI, Google, or local Ollama), and write a system prompt with a clear role and limits
  • Give the agent memory: Simple Memory (the context window), persistent memory in Postgres or Redis by session ID, and handling context drift in long conversations
  • Connect tools on real systems (tool calling): Gmail, Sheets, databases, and HTTP, with contracts and trust boundaries
  • Design multi-agent systems with the orchestrator-worker pattern, native delegation between agents, and cost/latency control
  • Bring the agent to real channels: Chat Trigger and web widget, WhatsApp Business API, Telegram, and voice agents
  • Protect the agent against prompt injection (direct and through tools), define trust boundaries, and require human approval before sensitive actions
  • Debug agents with execution replay and tool call tracing
  • Bring it all together in a multichannel, multi-agent customer support system with persistent memory and guardrails
Before you start

What you need to bring

It's for you if...

  • People who already automate with n8n and want to move from fixed flows with one AI step to autonomous agents
  • Automation builders who need agents that take action on real systems (CRM, email, calendar), not just respond with text
  • Support or sales teams looking for a multichannel agent (web, WhatsApp, voice) with per-customer persistent memory
  • Anyone preparing for roles that ask for experience with agents in production, not just proofs of concept

Requirements and materials

  • Knowing how to create, connect, and run workflows in n8n. The minimum AI vocabulary (LLM, prompt, token) is explained in Module 1
  • An n8n instance (self-hosted Community at $0 by default; Cloud is optional)
  • Access to at least one current AI model: an Anthropic, OpenAI, or Google API key, or a local model with Ollama
  • No programming required: the Code node is used sparingly and is not taught from scratch
Content

The syllabus, module by module

Open any of them to see its lessons.

Common questions

What people usually ask

Start whenever you like

Reviews

What students say

These reviews are from enrolled students who completed at least 50% of the course. We moderate reviews only on content grounds (spam, offensive language, personal data), never for being critical or negative.

No approved reviews yet.

Be the first to share your experience!