n8n: Self-Hosted Automation + AI — the Developer-Grade Zapier Alternative
Zapier and Make are great until you hit a wall — per-task pricing, a missing connector, or data you can't send to a third-party cloud. n8n is the tool I reach for when an automation needs to be self-hosted, AI-native, and actually owned by the business running it.
n8n (pronounced "n-eight-n") is a fair-code, source-available automation platform you can run on your own server. Think of it as Zapier or Make, except you host it, you own the data, and when a visual node isn't enough you drop into real JavaScript or Python. For businesses that care about privacy, volume, or cost predictability, that combination is hard to beat.
How n8n actually connects to your systems
n8n ships with 400+ pre-built integration nodes (Gmail, Slack, Google Sheets, HubSpot, Postgres, and so on), but the real power is that none of them are required. Every workflow is built from a few primitives, and once you understand them, n8n can talk to almost anything.
- Webhook trigger nodes give each workflow a public URL — any system that can POST JSON (a payment gateway, a form, your own app) can kick off an automation in real time.
- The HTTP Request node calls any REST API with custom headers, OAuth2, or API-key auth — so even a system with no official n8n connector is reachable.
- Polling triggers check a source on a schedule when there are no webhooks — handling pagination and "only new items since last run" for you.
- The Code node runs JavaScript (or Python via Pyodide) for the messy data-mapping and edge cases that visual nodes can't express.
- Credentials are stored and encrypted centrally, so tokens and keys live in one managed place instead of scattered across scripts.
The AI part: native, not bolted on
n8n re-architected itself around AI, with deep LangChain integration and a native AI Agent node. You can plug in a chat model, give the agent tools (other n8n nodes it can call), attach a vector store for retrieval over your own documents, and keep memory across a conversation — all inside the same visual canvas where you already moved your data around. The model is the easy, swappable part; n8n's job is to feed it the right context and route what it returns.
What you can actually build
- An invoice that lands in a shared inbox or storage folder is read by an AI node, the key fields extracted and validated, then filed into your accounting system — no manual data entry.
- A WhatsApp or web-chat message hits a webhook; an AI agent answers using your real product, pricing, and stock data pulled live from your database.
- A new CRM lead is scored by AI against your ideal-customer profile, summarized in one line, and routed to the right salesperson with a Slack ping.
- Nightly reconciliation: pull yesterday's orders and payments, let AI flag mismatches in plain language, and email a short exception report.
- Support tickets auto-tagged, prioritized, and drafted with a suggested reply that an agent approves before it sends.
The model is a commodity you can swap in an afternoon. The reliable plumbing around it — auth, retries, data shape, privacy — is the part worth paying an engineer for.
When n8n is right — and when it isn't
If you have a handful of simple, low-volume flows and don't want to maintain a server, hosted Zapier or Make is genuinely the cheaper, faster choice — use them. n8n earns its place when you have higher volume (per-task pricing would hurt), data that must stay on infrastructure you control, a system with no friendly connector, or logic too complex for drag-and-drop. One honest caveat: it's fair-code, not pure open source — free to self-host for your own internal business use, but reselling it as your own product needs a commercial arrangement with n8n. For internal automation, that limit almost never bites.
Self-hosting n8n well is its own small project: a hardened Docker deployment, Postgres for persistence, queue mode with Redis for scale, backups, and credentials handled properly. If you're weighing n8n self-hosted automation against another tool, or you want to hire a developer to connect your existing systems to AI and own the result, that's exactly the work I do — I'll help you pick the right tool, stand it up cleanly, and build the workflows so they keep running. Reach out through the contact form below and tell me what you're trying to automate.
Looking for a developer to connect your systems to AI?
I'm Ariel Gelberg — a senior software engineer and technical partner. I build the integrations and automations that connect your business to AI, end to end.
Let's talk