Self-Host n8n and Replace Zapier: Setup + Real Cost Breakdown
Zapier is great until the bill isn’t. The moment you have a few multi-step automations running often, you’re staring at $30–70/month for what a self-hosted tool does for the cost of electricity. n8n is that tool. Here’s the full setup and the actual cost comparison.
The cost math (why bother)
| Zapier | Make | Self-hosted n8n | |
|---|---|---|---|
| Entry paid tier | ~$30/mo | ~$11/mo | $0 software |
| Real cost at volume | $50–70+/mo | grows with “operations” | electricity only |
| Task/op limits | yes | yes | none |
| Your data | their cloud | their cloud | your box |
On a homelab box you already own, n8n’s marginal cost is basically zero. On a cheap Hetzner VPS it’s a few euros a month — still a fraction of Zapier, and with no per-task metering.
Step 1 — Docker Compose
Make a folder and drop in a docker-compose.yml:
services:
n8n:
image: docker.n8n.io/n8nio/n8n
restart: always
ports:
- "5678:5678"
environment:
- N8N_HOST=localhost
- N8N_PORT=5678
- GENERIC_TIMEZONE=Europe/Kyiv
volumes:
- n8n_data:/home/node/.n8n
volumes:
n8n_data:
Bring it up:
docker compose up -d
Open http://<host>:5678, create your owner account, and you’re in. The
n8n_data volume holds all your workflows and credentials — back it up and you
can never lose your automations.
Step 2 — your first workflow
The n8n editor is a visual canvas: trigger node → action nodes. A good first one that proves the value:
- Schedule Trigger — every morning at 08:00.
- RSS Read — pull your favorite feeds.
- Telegram — send yourself the new items as a digest.
Three nodes, wired left to right, hit Execute Workflow to test, then toggle it Active. That’s a “Zap” — except it runs on your hardware with no task quota.
Step 3 — where n8n leaves Zapier behind
- The Code node — drop in JavaScript (or Python) when a no-code node can’t do it. No paid tier gate.
- Self-hosted AI — point an LLM node at your local Ollama and your automations get AI for free, privately.
- No per-task billing — loop over 10,000 items and it costs you nothing extra.
Should you self-host or use n8n Cloud?
If you already run a homelab: self-host, obviously. If you don’t want to babysit a server but still want out of Zapier’s pricing, n8n Cloud is a reasonable middle ground. Either way you keep the same workflows and the same escape hatch.
Full walkthrough — including putting it behind a reverse proxy safely — is in the video.
Gear used in this build
* Affiliate links — I earn a small commission at no cost to you, and I only list gear I actually run. See the full disclosure.
New self-hosting builds every week.
Subscribe on YouTube