How to Replace Zapier with n8n Self-Hosted: Full Migration Guide (Save 90%)
Julián Bagilet
April 23, 2026
Why Replace Zapier with Self-Hosted n8n
Zapier's pricing model scales aggressively: 50 workflows at 2,000 tasks/month each = USD 1,200/month minimum. Self-hosted n8n on a USD 5/month VPS handles the same volume for approximately USD 20/month total (hosting + maintenance).
For enterprises running high-volume automation workflows, this represents 90% cost savings. Additionally, self-hosting provides data isolation, custom nodes, and no execution limits.
Cost Comparison: Zapier vs n8n
| Scenario | Zapier Cost | n8n Self-Hosted | Savings |
|---|---|---|---|
| 10 workflows, 5k tasks/mo | USD 99/mo | USD 25/mo | 75% |
| 50 workflows, 100k tasks/mo | USD 1,200/mo | USD 45/mo | 96% |
| 200+ workflows, 500k+ tasks/mo | USD 5,000+/mo | USD 80/mo | 98% |
Infrastructure Setup: VPS + Docker
Step 1: Choose Your Host
Recommended providers with n8n pricing in mind:
- DigitalOcean — USD 5-6/mo (1GB RAM) to USD 12-15/mo (2GB RAM recommended for n8n)
- Hetzner — EUR 3-4/mo, excellent uptime in Europe
- Railway.app — USD 5/mo with automatic scaling, PostgreSQL included
- Linode — USD 5/mo, good API and documentation
Recommendation: Start with DigitalOcean Droplet (2GB RAM) or Railway for simplicity.
Step 2: Install Docker & Docker Compose
SSH into your server and run:
- Update system:
sudo apt update && sudo apt upgrade -y - Install Docker:
curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh - Install Docker Compose:
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose
Step 3: Create docker-compose.yml
Minimal production-ready configuration:
- n8n service with persistent volume
- PostgreSQL database (required for stability)
- Caddy reverse proxy with automatic SSL
- Environment variables for secrets
Configuration includes webhook endpoints, execution timeout (60s default), and memory limits (512MB minimum).
Step 4: Deploy and Access
Run docker-compose up -d and access n8n at your domain. Initial setup takes 2-3 minutes; database initialization is automatic.
Key Differences: Zapier vs n8n Architecture
Execution Model
Zapier: Workflows execute sequentially; each action is a discrete API call. Task limits are per-month aggregate.
n8n: Full workflow executes as single process. Each execution counts as 1 task regardless of node count.
Impact: A 10-node workflow = 1 execution in n8n but 10 tasks in Zapier.
Data Transformation
Zapier Formatter: Limited transformations via UI. Complex logic requires Zapier Code (USD 99+/mo).
n8n Function Node: Write JavaScript directly, access all previous node outputs, full standard library.
Migration Strategy: Replace Formatter with Function nodes. Most transformations require 0 rewrites.
Webhook Authentication
Zapier: Webhooks validated via query parameter token automatically.
n8n: Requires manual signature verification OR IP whitelist. Use Webhook node with HMAC validation.
Migration Tip: Store webhook signing secrets in .env; reference via $secrets.SLACK_TOKEN syntax.
Error Handling & Retries
Zapier: Built-in retry logic (3 attempts by default). Silent failures to Zap History.
n8n: Manual retry nodes required. Use Try/Catch workflows or built-in error handling in nodes.
Best Practice: Implement dead-letter queues for failed executions; notify team via Slack.
Migration Strategy: 30-Day Plan
Phase 1: Audit (Days 1-3)
- Export all Zapier workflows (Settings > Export)
- Categorize by complexity: Simple (2-3 nodes), Medium (5-10), Complex (10+)
- Identify integrations needed: Slack, GitHub, Stripe, HubSpot, etc.
- Map n8n equivalents (most integrations have direct parity)
Phase 2: Setup & Testing (Days 4-10)
- Deploy n8n instance and verify all node types available
- Recreate 3-5 simple workflows for testing
- Validate output matches Zapier (sample 100 executions)
- Set up monitoring dashboards and alerts
Phase 3: Migration (Days 11-25)
- Run Zapier + n8n in parallel for critical workflows (A/B test)
- Migrate by complexity: simple first, complex last
- Each workflow gets 3-5 days of parallel validation
- Archive in Zapier only after validation complete
Phase 4: Optimization & Cleanup (Days 26-30)
- Analyze n8n execution logs; optimize slow nodes
- Deactivate all Zapier workflows
- Keep Zapier account for 30 days as fallback
- Document all n8n workflows (README per workflow)
Compatibility Matrix: 50 Common Integrations
Most Zapier triggers/actions map 1:1 to n8n. The following are supported with identical functionality:
- Slack (send message, get user info, list channels)
- Gmail (send email, search inbox, add label)
- Stripe (create invoice, list charges, webhook)
- HubSpot (create contact, update deal, list companies)
- GitHub (create issue, list releases, push code)
- Google Sheets (append row, update cell, create sheet)
- Shopify (create order, list products, webhook)
- Typeform (get responses, list forms)
- Airtable (create record, update base, delete record)
- Twilio (send SMS, make call, list messages)
Parity check: If a Zapier integration is not in this list, check n8n Community Nodes marketplace. 95% of apps have community-built nodes with full functionality.
Real Cost Calculations for Different Team Sizes
Small Team (5 people, 20 workflows)
Zapier: USD 99/mo × 12 = USD 1,188/year
n8n Self-Hosted: USD 10/mo hosting + 5 hrs setup/mo = USD 120/year + USD 300 initial (setup labor)
Savings Year 1: USD 768
Mid-Size Enterprise (50 people, 100 workflows)
Zapier: USD 5,000/mo (estimated at this scale) = USD 60,000/year
n8n Self-Hosted: USD 50/mo hosting + 10 hrs/mo maintenance = USD 600/year + USD 1,500 initial (setup + ops training)
Savings Year 1: USD 58,900
Enterprise (200+ workflows, 1M+ monthly tasks)
Zapier: Custom plan USD 10,000+/mo = USD 120,000+/year
n8n Self-Hosted: USD 200/mo (HA setup) + 20 hrs/mo ops = USD 2,400/year + USD 5,000 initial (setup + training + HA infrastructure)
Savings Year 1: USD 112,600
n8n 2.0 AI Agent Nodes (New Capability)
n8n 2.0 introduces AI Agent nodes with Claude, OpenAI, and Gemini support. Use cases:
- Intelligent Classification: AI automatically categorizes incoming emails without hardcoded rules
- Dynamic Routing: Agent decides workflow path based on message content
- Data Extraction: AI extracts structured data from unstructured documents
- Agentic Loops: Workflows that iterate and improve output (e.g., multi-step customer inquiry resolution)
Cost: AI Agent nodes consume credits based on LLM API usage. Budget USD 0.01-0.10 per execution (vs Zapier Code which is fixed cost).
Migration Gotchas & Solutions
Gotcha 1: Task Counting
Problem: A 20-node Zapier workflow = 20 tasks. Same workflow in n8n = 1 execution.
Solution: Recount your actual usage. Most customers discover 70-80% cost reduction just from execution model difference.
Gotcha 2: Webhook Signature Verification
Problem: Zapier validates webhooks automatically. n8n requires manual setup.
Solution: Store webhook secrets as $secrets variables. Implement HMAC-SHA256 validation in Webhook node.
Gotcha 3: Rate Limiting from Third Parties
Problem: n8n can execute workflows faster than Zapier, hitting API rate limits.
Solution: Add delay nodes between API calls. Use built-in rate limit handling in HTTP Request node.
Gotcha 4: Large Dataset Processing
Problem: Zapier can struggle with 1,000+ item loops; n8n defaults to single-threaded execution.
Solution: Use Execute in Batches node or external job queue (Celery, Bull) for large-scale processing.
Monitoring & Operations
After migration, set up:
- Execution Dashboard: Monitor success rate (should be >99%)
- Alert Rules: Notify team if workflow fails 3+ times
- Audit Logs: Track all workflow changes (who, when, what)
- Performance Metrics: Average execution time, database query count
- Backup Strategy: Daily database backup to S3
Next Steps
- Estimate your current Zapier usage (tasks, workflows, complexity)
- Spin up free n8n.cloud trial to test 2-3 workflows
- Deploy self-hosted instance on USD 10/mo VPS
- Run parallel test on simple workflow for 7 days
- Plan 30-day migration timeline
- Execute with Phase 1-4 approach documented above
Self-hosted n8n is production-ready and handles Fortune 500 scale. The migration from Zapier is straightforward for most teams, with payback period of 2-3 months.
