n8n has become a popular choice for AI automation because you can host it yourself, keep data on your own servers and drop into code when the visual editor is not enough. Running it well is a different skill from building your first workflow: you need a proper database, workers that scale, sensible credentials handling and workflows that fail loudly instead of silently. This course takes you from a working n8n instance to a dependable, self-hosted automation platform with AI at its centre.
What you'll learn
- Self-hosting n8n with Docker Compose, Postgres, a reverse proxy and HTTPS
- Queue mode with Redis and separate worker processes for heavier workloads
- Environment variables, encryption keys, credentials and user management done safely
- The AI Agent node: chat models, tools, memory and system messages
- Building retrieval workflows with embeddings and vector stores such as Qdrant or Postgres with pgvector
- Using n8n as an MCP client and exposing workflows as MCP tools for other assistants
- Sub-workflows, reusable components and passing data cleanly between them
- The Code node in JavaScript and Python for transformations the built-in nodes cannot do
- Error workflows, retries, alerting and execution data retention
- Upgrades, backups, version control for workflows and checking the licence terms for your use
Who it's for
- People who already build n8n workflows and want to run them reliably in production
- Freelancers and agencies setting up AI automation for several clients
- Developers and IT teams who need automation that keeps data in their own infrastructure
Prerequisites
- Experience building workflows in n8n, Make or Zapier; No-Code AI Automation with n8n, Make and Zapier covers the basics
- Comfort with the Linux command line and basic Docker
- A small VPS or cloud server you can use for the course
Outcomes
By the end of this course you will be able to:
- Deploy and maintain a secure, backed-up, self-hosted n8n instance.
- Scale n8n with queue mode when workloads grow.
- Build AI agent and retrieval workflows that use your own data and tools.
- Make workflows observable, with error handling and alerts that tell you what went wrong.
Projects you'll build
Production n8n server. Deploy n8n with Postgres, Redis workers, HTTPS and automated backups on a VPS, then rehearse an upgrade and a restore. Practises self-hosting, queue mode and operations.
Company knowledge assistant. Index shared documents into a vector store on a schedule and answer staff questions in Slack or Teams through an AI Agent workflow. Practises embeddings, retrieval, memory and chat triggers.
Lead enrichment and routing pipeline. Take form submissions, enrich them through APIs, score them with an AI step, write them to your CRM and alert sales, with an error workflow that catches every failure. Practises sub-workflows, the Code node and error handling.
Tools you'll use
n8n (self-hosted), Docker Compose, Postgres, Redis, Caddy or Nginx, Qdrant or pgvector, an LLM provider or Ollama, and Git for exporting workflows.
Course outline
| Module | Topic |
|---|---|
| 1 | n8n architecture and hosting options |
| 2 | Docker Compose, Postgres and HTTPS |
| 3 | Credentials, encryption keys and users |
| 4 | Queue mode and workers |
| 5 | The AI Agent node: models, tools and memory |
| 6 | Embeddings, vector stores and retrieval |
| 7 | MCP: using and exposing tools |
| 8 | Sub-workflows and the Code node |
| 9 | Error workflows, retries and alerts |
| 10 | Backups, upgrades and version control |
| 11 | Security, licensing and client set-ups |
| 12 | Project: a production AI automation platform |
FAQ
How is this different from the no-code automation course?
No-Code AI Automation with n8n, Make and Zapier is for beginners and compares three hosted tools. This course concentrates on n8n alone, at an advanced level, including running and scaling it yourself.
Can I use self-hosted n8n for client work?
Often yes, but n8n is released under a fair-code licence with conditions about how it can be offered to others. We explain the general terms, and you should read the current licence and take advice for your own situation.
Is this an official n8n course?
No. It is an independent course that covers the topics of self-hosting and building with n8n, and is not affiliated with n8n GmbH.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.