Deploy n8n Form Backend
Typeform and webhook form backend with n8n
Redis
Just deployed
/data
Just deployed
/var/lib/postgresql/data
Just deployed
/home/node/.n8n
n8n-worker
Just deployed
Deploy and Host self hosted n8n Form Backend (Open-Source Form Backend and Workflow Automation) on Railway
Self-hosted forms on Railway.
About Hosting n8n Form Backend open-source software on Railway (self hosted n8n template)
n8n Form Backend is a self-hosted form processing and workflow automation stack built on n8n Community Edition (fair-code). Instead of paying Typeform, Formspree, or Zapier per submission, you run your own form ingestion pipeline: webhook endpoints receive JSON payloads from any HTML form, then n8n workflows route that data to Google Sheets, PostgreSQL, HubSpot, Slack, email, or any of 400+ integrations. This Railway template deploys n8n in queue mode with PostgreSQL and Redis Bull, so high-volume form submissions are processed reliably without dropping webhooks. The editor and worker run as separate services from the official n8nio/n8n:2.36.8 Docker image, giving horizontal scaling. You own the entire pipeline: no per-response fees, no submission caps, no vendor lock-in. The webhook URL is your own Railway domain, so form submissions never touch a third-party form backend. Typeform charges $25+/month for 100 responses; n8n Form Backend on Railway gives unlimited form endpoints and submissions for roughly the cost of a small VPS.
Why Deploy n8n Form Backend, the Typeform alternative on Railway (Railway Free Trial)
Typeform’s pricing punishes you for getting more responses: free tier caps at 10 responses/month, Basic at $25/month allows 100, Business at $59/month allows 1,000. Every extra response costs more. n8n Form Backend flips this: you pay for infrastructure, not submissions. A Railway deployment typically costs $10-$25/month flat whether you process 100 or 100,000 submissions. You also get what Typeform cannot offer: branch form data into multiple destinations simultaneously. A single webhook submission can create a Google Sheets row, send a Slack notification, upsert a HubSpot contact, and trigger a SendGrid email in one execution. n8n’s 400+ nodes cover CRMs, databases, spreadsheets, messaging, and custom HTTP. Because it’s fair-code open source, you can inspect logic, export workflows as JSON, and migrate to any VPS. Railway offers a $5 free trial on GitHub signup to test the full queue-mode form backend.
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying n8n Form Backend on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Railway vs Other Hosting Providers and VPS for n8n Form Backend self hosting
Railway’s managed Postgres and Redis remove the two most painful parts of self-hosting n8n in queue mode: database provisioning and queue broker maintenance. On a raw VPS, you’d install PostgreSQL, configure Redis, write systemd units, set up a reverse proxy, and monitor everything. Railway handles all that with a single template deploy.
| Provider | Setup Time | Managed Postgres + Redis | Horizontal Scaling | Monthly Cost (Typical) | Best For |
|---|---|---|---|---|---|
| Railway | ~5 minutes | Yes, built-in | Yes, per-service replicas | $10-$25 | Fastest path to production form backend |
| DigitalOcean | 1-2 hours | Managed DB available, Redis manual | Manual droplet resizing | $12-$48 | Developers comfortable with SSH and systemd |
| AWS | 4-8 hours | RDS + ElastiCache available | Auto-scaling groups | $30-$100+ | Enterprise teams with existing AWS infrastructure |
| Hetzner | 2-3 hours | No managed Postgres/Redis | Manual | $5-$15 | Budget-conscious self-hosters willing to manage everything |
Railway’s advantage is the integrated environment: editor, worker, Postgres, and Redis live in the same project with private networking, shared env vars, and one-click deploys. When a form campaign goes viral, scale the worker horizontally with a slider instead of provisioning a new VPS.
Common Use Cases for hosted n8n Form Backend
Lead capture and CRM enrichment. A landing page form posts to your n8n webhook. The workflow validates email, enriches with Clearbit, creates/updates a contact in HubSpot or Salesforce, and posts a Slack notification. No Typeform or Zapier subscription.
Event registration and attendee management. Webinar forms feed into n8n, which writes attendees to Google Sheets, sends confirmation emails, adds calendar invites, and syncs status to Postgres. Cancellation webhooks update all systems in parallel.
Customer feedback and NPS surveys. Post-purchase forms submit to n8n, which scores NPS, routes detractors to Slack, stores responses in a database, and sends thank-you emails. You own the data and can run SQL queries without exporting from a vendor UI.
Job applications and HR intake. Application forms with file uploads post to n8n, which stores files in S3, parses resumes with AI, creates candidate records in an ATS, and notifies hiring managers.
Order forms and payment follow-ups. Custom order forms trigger n8n workflows that validate inventory, create orders, send invoices via Stripe, and update fulfillment systems.
Internal operations forms. IT requests, expense reports, and bug reports flow through n8n to Jira, Notion, Airtable, or email. One instance replaces multiple form tools.
Dependencies for n8n Form Backend Docker hosted on Railway
Runs n8n with Postgres and Redis.
Deployment Dependencies for Managed n8n Form Backend Service (Form Backend Automation)
The Railway template deploys four services:
- n8n Editor (n8nio/n8n:2.36.8) – Web UI on port 5678, exposed publicly.
- n8n Worker (n8nio/n8n:2.36.8) – Executes jobs from Redis Bull. Command:
n8n worker. Scale replicas for parallel processing. - PostgreSQL – Stores workflows, execution history, credentials.
DB_TYPE=postgresdbis mandatory; SQLite cannot run queue mode. - Redis – Bull queue broker between editor and workers. Stores rate-limit counters and temporary state.
Persistent volume /home/node/.n8n on the editor stores config, encryption keys, and local files. Must persist across restarts.
Implementation Details for n8n Form Backend (Using n8n official docker image)
Need a lighter single-node option? Use the cheapest n8n without queue mode instead of this queue-mode workers stack.
Environment variables on both editor and worker:
EXECUTIONS_MODE=queue– enables queue mode.DB_TYPE=postgresdb– switches from SQLite to Postgres.DB_POSTGRESDB_HOST,DB_POSTGRESDB_PORT,DB_POSTGRESDB_DATABASE,DB_POSTGRESDB_USER,DB_POSTGRESDB_PASSWORD– Postgres connection.QUEUE_BULL_REDIS_HOST,QUEUE_BULL_REDIS_PORT,QUEUE_BULL_REDIS_DB– Redis connection.WEBHOOK_URL– public HTTPS URL of editor; critical for form webhook paths.N8N_PROXY_HOPS=1– tells n8n it sits behind one reverse proxy (Railway’s edge).N8N_ENCRYPTION_KEY– random string encrypting credentials. Never lose it; rotating makes all stored credentials unreadable.EXECUTIONS_DATA_PRUNE=true– auto-deletes old execution data; configureEXECUTIONS_DATA_MAX_AGEfor retention.
Worker uses same image but command n8n worker. Worker needs same Postgres/Redis and N8N_ENCRYPTION_KEY, but not WEBHOOK_URL.
How does n8n Form Backend compare against other form backend and lead capture platforms
Hosted form builders (Typeform, Formspree) charge per response and lock data in their UI. Automation platforms (Zapier, Make) charge per task/operation. n8n Form Backend is a self-hosted automation engine that acts as the form endpoint itself, eliminating separate form SaaS. You build a simple HTML form, point its action at your n8n webhook URL, and n8n handles validation, enrichment, routing, and storage. No per-response or per-task fees.
n8n Form Backend vs Typeform (Typeform Alternative)
Typeform’s design is polished, but pricing is steep: free 10 responses/month, Basic $25/month for 100, Business $59/month for 1,000. High-volume campaigns hit caps in days. n8n Form Backend has no response limits; you can process 50,000 submissions on a $15 Railway stack. Trade-off: you build your own form UI in HTML/React. For teams needing Typeform’s visual builder, you can use its free tier and n8n’s Typeform trigger, but still hit caps. Unlimited path is custom HTML form posting to n8n webhook.
n8n Form Backend vs Zapier Forms (Zapier Alternative)
Zapier Forms inherits per-task pricing. A 5-step Zap consumes 5 tasks per submission. Professional plan at $19.99/month gives 750 tasks ≈ 150 submissions. n8n Form Backend has zero marginal cost per execution. A 20-step workflow costs the same as 1-step. n8n also supports more complex branching, error handling, and custom code.
n8n Form Backend vs Make (Make Alternative)
Make charges per operation: Core plan $9/month for 10,000 operations. A 10-module scenario consumes 10 operations per submission, so 10,000 ops ≈ 1,000 submissions. n8n Form Backend has no operation-based pricing; only infrastructure cost. Make’s visual builder is good, but n8n adds custom JavaScript/Python in Function nodes, direct SQL, and self-hosting.
n8n Form Backend vs Formspree (Formspree Alternative)
Formspree charges per submission: free 50/month, Starter $20/month for 1,000, Pro $75/month for 10,000. It only receives submissions and emails them. n8n Form Backend does that plus routes data to 400+ tools, runs custom logic, stores in your database, and triggers follow-ups. At $10-$25/month on Railway, it’s cheaper and far more capable.
How to use n8n Form Backend (the OSS Form Backend Automation)?
Step 1: Deploy the template. Click deploy on this Railway template. Railway pro
Template Content
Redis
redis:8.2n8n-worker
n8nio/n8n:2.36.8