Why install n8n instead of Zapier
Zapier charges per task. n8n is self hosted and free. For any marketing team with more than a few thousand task executions a month, n8n breaks even quickly. It also gives you control. Webhook ingestion, custom code nodes, branching, and true loops without paywall gates.
How to install n8n with Docker on a VPS
Provision a small VPS
A 2 GB RAM instance on Hetzner, DigitalOcean, or Linode is plenty for the first few hundred workflows. Pick a region near your team for low latency.
Install Docker
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USERRun n8n with persistent storage
docker volume create n8n_data
docker run -d --restart=unless-stopped \
--name n8n \
-p 5678:5678 \
-e N8N_HOST=automate.yourdomain.com \
-e N8N_PROTOCOL=https \
-e WEBHOOK_URL=https://automate.yourdomain.com/ \
-e GENERIC_TIMEZONE=Asia/Kuala_Lumpur \
-v n8n_data:/home/node/.n8n \
docker.n8n.io/n8nio/n8nPut a reverse proxy in front
Use Caddy or Nginx with a free Let's Encrypt cert. Caddy is the lazy choice and writes one line of config per host. n8n will not let you save webhook flows over plain HTTP, so HTTPS is mandatory.
How to install n8n on Render or Railway
Both platforms have one click deploy templates. Pick the n8n template, set a WEBHOOK_URL environment variable to your custom domain, and add a postgres database for persistence. The free tiers are usually enough to evaluate. Move to a paid plan once you have credentials worth protecting.
Five workflows worth wiring on day one
- Inbound lead form to CRM with enrichment via Clearbit or Apollo.
- Daily Slack rollup of yesterday's ad spend and ROAS by campaign.
- Auto reply with a calendar link when leads tag a specific intent.
- Weekly scrape of competitor pricing pages into a Notion table.
- Customer onboarding sequence triggered by Stripe payment success.
Credential hygiene
n8n encrypts credentials at rest with a server side key. Set the N8N_ENCRYPTION_KEY environment variable to a long random string before you save any credentials. Rotating it later is painful. Use 1Password or Doppler to keep the key safe outside the server.
Quick answers
- Is n8n free?
- The Community Edition is free and self hosted. Cloud and Enterprise tiers add hosted infrastructure, SSO, and dedicated support.
- How much does it cost to host n8n?
- A 2 GB RAM VPS runs around 5 to 12 USD per month. Render and Railway managed deploys start around 7 USD per month with a small database.
- Can n8n replace Zapier completely?
- For most marketing automation, yes. n8n has more than 400 native integrations plus a generic HTTP node that hits any REST API. The migration is mostly mechanical.
- Does n8n support AI nodes?
- Yes. Native nodes for OpenAI, Anthropic, and the AI Agent abstraction. You can also call any local LLM through the HTTP node, which is how Ollama integrations are usually wired.
- Is n8n production ready?
- Yes if you back it with postgres for persistence, run it behind HTTPS, and rotate the encryption key on schedule. Many enterprise teams run thousands of workflows on n8n.