INTERMEDIATE · 8 MODULES · 64 LESSONS
AI Chatbots and Agents with n8n
Build AI agents in n8n that chat, remember each customer, and take action on your systems, then bring them to the web, WhatsApp, Telegram, or voice.
- For you if
- You already automate with n8n and want to go from fixed flows to agents that take action.
- By the end
- You'll know how to give an agent memory and tools, coordinate multiple agents, and protect them from malicious instructions with human review.
- You need
- Experience building n8n workflows, an n8n instance, and an AI model via API or running locally.

Curriculum
01De chatbot a agente: qué cambia con la IA agéntica
- Introduction: what you'll build in this guide
- Agent, chatbot, and procedural AI: three different things
- What is an agentic loop: reason, act, observe
- The native AI Agent node in n8n 2.x
- The four pieces: model, prompt, tools, and memory
- When to use an agent and when not to
- Where you'll run your agents: self-hosted Community vs Cloud
- Mini-project: your first agent that responds
02El cerebro del agente: modelo y system prompt
- Introduction: the agent's brain
- Choosing the model: current families in 2026 (and which to avoid)
- Connecting AI providers: Anthropic, OpenAI, and Google credentials
- Local models with Ollama: a $0 agent (Llama 3, Mistral)
- The system prompt: role, boundaries, and response format
- Model parameters and structured output
- Testing and replaying executions with the debugging engine
- Mini-project: an advisor agent with personality and boundaries
03Memoria: el agente que recuerda
- Introduction: the agent that remembers
- Why memory changes everything
- Simple Memory: the context window
- Persistent memory: session ID and storage
- Multi-turn conversations: holding the thread
- When memory degrades: context drift in long conversations
- When to forget: summarizing and resetting the context
- Mini-project: conversational agent with persistent per-user memory
04Herramientas: el agente que actúa sobre sistemas reales
- Introduction: the agent that acts
- What a tool is and how the agent decides to use it (tool calling)
- Native n8n tools: search, create, send
- Connecting real systems: Gmail, Sheets, a database, and HTTP
- Tool contracts and trust boundaries
- Sub-workflows as tools: encapsulating reusable logic
- MCP in n8n: consuming external tools and the instance MCP server
- Mini-project: an agent that executes 3 actions on real systems
05Sistemas multi-agente: agentes que se delegan tareas
- Introduction: agents that delegate
- Why one agent isn't enough: separating responsibilities
- The orchestrator-worker pattern
- An agent as another agent's tool: native delegation
- Designing the team: roles, handoffs, and contracts between agents
- Agentic loops between agents: stopping conditions
- Cost and latency of a multi-agent system
- Mini-project: triage → specialist system (2-3 agents)
06Canales reales: chat web, WhatsApp, Telegram y voz
- Introduction: bringing the agent to real channels
- Chat Trigger and embedded web widget
- WhatsApp Business API: the agent where the customer is
- Telegram bots
- Voice agents: Vapi, Retell, and ElevenLabs
- Conversational UX per channel: asynchrony, limits, and buttons
- One agent, several channels: reusable architecture
- Mini-project: the same agent on web and WhatsApp
07Seguridad y confiabilidad del agente
- Introduction: secure and reliable agents
- Prompt injection: when the user's input hijacks the agent
- Injection through tools: Gmail and Calendar as a vector
- Trust boundaries: what the agent can do without permission
- Human-in-the-loop: approval before sensitive actions
- Hallucination and output verification
- Debugging agents: replay and tool-call tracing
- Mini-project: hardening an agent with guardrails, HITL, and validation
08Proyecto: sistema de atención al cliente multicanal
- Project introduction: what you're going to deliver and how it's evaluated
- Designing the system: agents, tools, memory, channels, and guardrails
- The triage agent and specialists (multi-agent)
- Tools: querying CRM and knowledge, creating tickets, and escalating
- Persistent memory per customer + web and WhatsApp
- Guardrails and human handoff for sensitive actions
- Debugging, basic monitoring, and cost control
- Delivery: demo, review, and how to present it to your team
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!