Migration Guide

Self-Hosting Your Automations: Zapier to n8n Migration Guide

n8n promises unlimited automations for the cost of a VPS. That headline is true — and also misleading. Self-hosting trades subscription fees for your time, DevOps knowledge, and the risk of silent failures at 2 AM. Here is when the tradeoff makes sense and when it does not.

17 min readUpdated March 2026

The True Cost of Self-Hosting n8n

Self-hosted n8n's Community Edition is free and open source. You pay nothing for the software. You pay for everything around it.

Cost ComponentMonthly RangeNotes
VPS (2GB RAM, 2 vCPU)$5–$12/moHetzner, DigitalOcean, or Vultr
VPS (4GB RAM, production)$12–$24/moRecommended for 20+ workflows
Database (PostgreSQL)$0 (same server) or $7–15/moManaged DB recommended for reliability
Backups$1–$3/moAutomated snapshots via provider
Uptime monitoring$0–$7/moUptimeRobot free, Better Stack paid
Your time (maintenance)2–5 hrs/moUpdates, debugging, monitoring
Total (cash only)$6–$44/moBefore valuing your time
Total (incl. time at $75/hr)$156–$419/mo2–5 hrs at $75/hr + infrastructure

Time costs vary dramatically. A smooth month needs 1–2 hours. A bad month (failed upgrade, corrupted DB, expired SSL) can eat 10+ hours.

n8n Cloud: The Middle Ground Most People Ignore

Before diving into self-hosting, consider n8n Cloud. It gives you n8n's builder and code nodes without the infrastructure burden.

PlanMonthly PriceExecutionsActive Workflows
Starter$20/mo2,500/mo5
Pro$50/mo10,000/moUnlimited
EnterpriseCustomUnlimitedUnlimited

n8n Cloud counts “executions” differently from Zapier tasks or Make operations. One execution is one workflow run, regardless of how many nodes it contains. A 10-node workflow running once = 1 execution in n8n, but 10 tasks in Zapier. This makes n8n Cloud surprisingly competitive at moderate volumes with complex workflows.

Docker Setup Walkthrough

Three hosting paths, in order of simplicity:

Option 1: Railway or Render (Easiest)

Railway and Render both support one-click n8n deployment from Docker images. Railway's usage-based pricing starts at ~$5/month for light workloads. Render's starter plan is $7/month. Both handle SSL, container management, and basic monitoring. You get self-hosted-like control without managing a raw server.

The tradeoff: Railway and Render have cold starts on lower tiers, meaning webhook responses can be slow if the container scales to zero. For automation, where reliability matters more than latency, this is a real concern. Keep the instance always-on (costs more) or accept occasional delayed triggers.

Option 2: VPS with Docker Compose (Recommended)

The standard self-hosting path. Rent a VPS from Hetzner ($4.50/mo for 2GB), DigitalOcean ($6/mo), or Vultr ($6/mo). Install Docker and Docker Compose. Pull n8n's official Docker image. Configure environment variables for database, encryption key, and webhook URL. Set up a reverse proxy (Caddy is simplest — automatic SSL) and point your domain.

Expect 45–90 minutes for initial setup if you are comfortable with the command line. If “SSH into a server” sounds foreign, this path is not for you — use n8n Cloud or Railway instead.

Option 3: Kubernetes (Overkill for Most)

Only relevant for teams running 100+ workflows with high-availability requirements. n8n publishes a Helm chart. If you already have a Kubernetes cluster, deployment is straightforward. If you do not, the operational overhead of Kubernetes far exceeds the complexity of n8n itself.

Which Zap Patterns Translate Cleanly to n8n

  • Webhook-triggered workflows. n8n handles webhooks natively. If your Zap starts with a webhook, the n8n equivalent is a Webhook node. Response times are comparable on a properly configured VPS.
  • Data transformation chains. n8n's Code node (JavaScript or Python) is vastly more powerful than Zapier's Formatter. Any data manipulation that required multiple Formatter steps or Code by Zapier becomes a single Code node with full language capabilities.
  • API-heavy workflows. If your Zaps use Webhooks by Zapier and Code by Zapier to hit custom APIs, n8n's HTTP Request node and Code node handle this with less friction and no execution time limits.
  • Scheduled batch processes. Cron triggers in n8n are precise and free (no per-execution cost on self-hosted). A workflow that polls an API every 5 minutes costs nothing extra on n8n versus consuming tasks rapidly on Zapier.

Which Zap Patterns Do NOT Translate Well

  • Native app integrations. Zapier has 7,000+ app connectors. n8n has ~400 built-in nodes. If your Zap connects to a niche CRM, HR tool, or industry-specific app, n8n probably doesn't have a prebuilt node. You can use HTTP Request nodes to call any API, but that requires reading API documentation, handling authentication, and parsing responses manually.
  • Webhook reliability (self-hosted). Zapier's infrastructure guarantees webhook reception with retry logic. Self-hosted n8n is only as reliable as your server. If your VPS goes down or Docker restarts, incoming webhooks are lost. Mitigation: use a webhook relay service or queue (adds complexity and cost).
  • OAuth-based app triggers. Zapier manages OAuth token refresh automatically for all 7,000+ apps. n8n handles OAuth for its built-in nodes, but custom OAuth setups require manual token management. Tokens expire, refresh flows fail, and you discover the problem when a workflow silently stops working.
  • Team-managed simple automations. If non-technical team members currently build and maintain Zaps, n8n's interface will be a barrier. The code capabilities that make n8n powerful for developers make it intimidating for operations and marketing teams.

When n8n Saves Money vs When It Costs More in Time

ScenarioZapier Costn8n Self-Hosted CostVerdict
Solo dev, 5 workflows, low volume$30/mo$6/mo + 1 hr/mon8n wins
Solo dev, 20+ workflows, heavy volume$200–400/mo$15/mo + 3 hrs/mon8n wins big
Agency, devs billed at $150/hr$300/mo$15/mo + $450–750/mo (time)Zapier wins
Non-technical team, simple Zaps$30–70/mo$6/mo + endless support requestsZapier wins
Data-sensitive industry (health, finance)$100+/mo + compliance risk$20/mo + full data controln8n wins

The Hybrid Approach: n8n for Heavy, Zapier for Simple

The best migration strategy for most teams is not to go all-in on either platform. Run n8n for your high-volume, data-heavy, or custom-code workflows. Keep Zapier for the simple, niche-integration, team-editable automations.

This works because the economics favor different tools at different workflow profiles:

  • Move to n8n: Workflows that run frequently (hourly/daily), process batches of data, require custom code transformations, or handle sensitive data.
  • Keep on Zapier: Workflows that use Zapier-exclusive integrations, are edited by non-technical team members, run infrequently (weekly/monthly), or are simple 2-step trigger-action patterns.

Downgrade your Zapier plan to match the reduced task volume. The combination of Zapier Free/Professional + n8n self-hosted often costs less than either platform alone would at full volume.

Who Should NOT Migrate to Self-Hosted n8n

  • • Anyone who does not already manage servers or Docker containers
  • • Teams where the person maintaining automations is not technical
  • • Businesses where a 2-hour outage in automations causes immediate revenue loss
  • • Solo operators whose time is better spent on revenue-generating work than DevOps
  • • Anyone currently spending under $50/month on Zapier (the savings do not justify the operational burden)

Common Mistakes

  • 1.Underestimating maintenance time. Month one is fine. Month three, when n8n pushes a breaking update or your PostgreSQL needs vacuuming, the time cost spikes. Budget 3–5 hours/month on average, not the 1 hour of a smooth month.
  • 2.No monitoring from day one. Set up uptime monitoring (UptimeRobot free tier), error alerting (send failed workflow notifications to Slack or email), and automated backups before you migrate a single workflow.
  • 3.Skipping the encryption key. n8n encrypts credentials with an encryption key set via environment variable. If you lose this key or redeploy without it, all stored credentials become unreadable. Back it up separately from your server.
  • 4.Using SQLite in production. n8n defaults to SQLite, which works for testing but degrades under concurrent workflow execution. Switch to PostgreSQL before going live. Migration after the fact is possible but annoying.
  • 5.Not testing webhook reliability. Send test webhooks to your n8n instance from an external service. Verify they arrive. Then kill the n8n container, send another webhook, restart, and verify it was lost. Understand your failure mode before it costs you real data.

Bottom Line

Self-hosted n8n is the right move for developers or technical teams spending $100+/month on Zapier who are comfortable with Docker and basic server administration. The cash savings are real — $1,000–$4,000+ per year at high volumes.

n8n Cloud is the right middle ground for technical teams who want n8n's builder and code nodes without the infrastructure overhead. At $50/month for 10,000 executions, it undercuts Zapier on workflows with many steps.

The hybrid approach — n8n for heavy, Zapier for simple — is what most teams should actually do. It captures 80% of the savings with 20% of the migration risk. Start by moving your three highest-volume workflows to n8n, run them for a month, then decide whether to move more.

Frequently Asked Questions

How does n8n count executions vs Zapier tasks?

n8n counts one execution per workflow run, regardless of how many nodes are in the workflow. Zapier counts each action step as a separate task. A 10-step workflow running once = 1 n8n execution but 10 Zapier tasks. This makes n8n dramatically cheaper for complex workflows.

Can I use n8n without knowing how to code?

n8n has a visual builder that works without code for basic workflows. However, n8n's main advantage is the Code node for custom logic. If you never plan to write JavaScript or Python, Make is a better choice — it offers a similar visual builder with more pre-built app integrations and no self-hosting requirement.

Is n8n Cloud worth it vs self-hosting?

If your time is worth more than $30/hour, n8n Cloud is probably worth it until you exceed the Pro plan's 10,000 executions. Self-hosting saves money at high volume but costs 2–5 hours/month in maintenance. The break-even is roughly when your Zapier bill exceeds $150/month and you have the DevOps skills in-house.

What happens to my Zapier workflows during migration?

Keep Zapier running during the entire migration. Build the n8n equivalent, test it in parallel for at least a week, then disable the Zapier version. Only downgrade or cancel Zapier after all workflows have been stable on n8n for a full billing cycle.

Explore Further on Sasanova

Comparisons

Guides