n8n on Railway

Workflow automation with a visual editor, 400+ integrations and AI agent nodes, self-hosted on Railway.

Official site · License: Sustainable Use License (fair-code) · 23 Railway templates

Deploy n8n on RailwayCompare templates

n8n is a workflow automation platform. You connect apps, APIs and databases on a visual canvas, add logic with JavaScript or Python Code nodes, and trigger workflows from webhooks, schedules, forms or chat. It is often compared with Zapier and Make, with the difference that you can run it on your own server and keep the data there.

For people building apps with AI tools, n8n is a common way to add the backend glue a generated frontend does not have: sending emails after a signup, syncing records between a CRM and a database, calling an LLM with your own prompts, or running an AI agent with tools and memory.

n8n is fair-code under the Sustainable Use License: you can self-host it for your own internal business, personal or non-commercial use, but you may not sell it as a hosted service to others.

What n8n can do

  • Visual workflow editor with 400+ integrations
  • JavaScript and Python Code nodes for custom logic
  • Webhook, schedule, form and chat triggers
  • AI agent nodes with tools, memory and MCP support
  • Queue mode: separate workers and webhook processors for scale
  • Credentials encrypted with your own key

What people use it for

  • Automating signup, payment and email flows for an app
  • Syncing data between a CRM, spreadsheets and a database
  • Running AI agents and chatbots backed by your own data
  • Scheduled data pipelines and reports
  • Replacing a Zapier or Make account with a self-hosted setup

Videos

n8n will change your life as a developer... · Fireship
n8n Tutorial – Zero to Hero Course · freeCodeCamp.org
Install n8n Locally With Docker Desktop · n8n

Running n8n on Railway

On Railway, an n8n template creates the n8n service together with its Postgres database (and, for queue mode, Redis, workers and a webhook processor) in one project with HTTPS and private networking. The simplest template runs a single n8n service with Postgres; the production template splits the editor, webhooks and workers so long workflows do not slow the editor, and adds nightly database backups. Railway bills the CPU and memory the services use.

n8n templates on Railway

n8n 2 Production Stack (Queue Mode, Workers, Python)Maintained by Tracklayer
n8n is a fair-code workflow automation platform with a visual editor and AI agent nodes. This template runs n8n 2.45.7 in queue mode with a separate webhook processor, scalable wor
9 deployments
Deploy
n8n 2 Workflow Automation (Postgres)Maintained by Tracklayer
Deploys n8n 2.47.7 as a single service with Postgres: editor, triggers, webhooks and JavaScript Code nodes in one process. The owner account is created at deploy so nobody else can
9 deployments
Deploy
n8n 2 AI Agent Stack (Ollama + Qdrant)Maintained by Tracklayer
A queue-mode n8n 2 stack with a local Ollama model and a Qdrant vector database on one private Railway network. It is for people who want AI agent workflows without sending data to
12 deployments
Deploy
N8N (w/ workers) by Jack
A powerful workflow automation tool for technical people
114,751 deployments
Deploy
n8n by shinyduo's Projects
n8n [Nov '26] (Workflows/Integrations/API Automation/AI Coding) Self Host
17,580 deployments
Deploy
n8n by Thalles Passos's Projects
n8n workflow automation on PostgreSQL, webhooks and secrets preconfigured
5,853 deployments
Deploy
n8n with workers by Steven Junio's Projects
A complete setup for n8n with workers
4,040 deployments
Deploy
N8N (w/ webhook processors) by Jack
A powerful workflow automation tool for technical people
3,386 deployments
Deploy
flowise-with-n8n-ai-automation by derekcheungsa's Projects
n8n ai automation template
1,974 deployments
Deploy
N8N by Faraz Patankar
A powerful workflow automation tool for technical people
1,547 deployments
Deploy
n8n-mcp by czlonkowski's Projects
Deploy n8n-mcp to enable AI agents to build and edit n8n workflows
1,348 deployments
Deploy
n8n by Bruno's Team
The cheapest n8n with PostgreSQL database.
1,293 deployments
Deploy
n8n by codestorm
A flexible automation platform for workflows, integrations, and AI.
752 deployments
Deploy
n8n - self-hosted Zapier alternative with workers by Just Deploy It
Self-host a Zapier alternative with n8n workers, Redis and PostgreSQL.
578 deployments
Deploy
N8N by Heimdall
Self-host n8n w/ workers. Automate with 400+ integrations, 7k+ templates.
468 deployments
Deploy
n8n Starter by Heimdall
[Jun '26] The cheapest n8n instance. Period.
401 deployments
Deploy
N8N Pro Stack by codestorm
Scalable n8n with workers, Redis & Postgres for powerful automation.
241 deployments
Deploy
n8n (w/ workers + webhook processor) by AvgSoft
n8n with workers and a webhook processor. Test webhooks work, DB private.
233 deployments
Deploy
N8N by SB
N8N [Nov'26]: unlimited executions, no Zapier fees. 188k+ GitHub stars.
231 deployments
Deploy
n8n by Giovanni Gardin
Simple and dependable automation platform using n8n + PostgreSQL
228 deployments
Deploy
N8N (AI Starter Kit) by an independent creator
A powerful workflow automation tool for technical people
223 deployments
Deploy
Evolution APi Whatsapp using n8n by omarmustafa-ops's Projects
Deploy and Host natural-passion with Railway
203 deployments
Deploy
N8N using PostgreSQL by maczo's Projects
n8n with PostgreSQL, auto-updates, and Community Nodes tool usage support
176 deployments
Deploy

Tracklayer templates are listed first. Other n8n templates follow, ordered by total deployments on Railway. How this works.

Deployment numbers as of 2026-11-20.

Questions about n8n

Which n8n template should I start with?

Start with a single n8n service plus Postgres if you are building or running a few light workflows. Move to the queue-mode stack when executions, webhooks and Code nodes start to compete for one process, or when you need more parallel executions.

Can I use self-hosted n8n commercially?

Under the Sustainable Use License you may self-host n8n for your own internal business use. Offering n8n itself as a paid hosted service to others is not allowed, and Enterprise features need an n8n license. Check the license text or ask a lawyer for customer-facing uses.

What do I need to back up?

The Postgres database and the N8N_ENCRYPTION_KEY. Credentials are encrypted with that key, so a database backup cannot restore them without it.

Can n8n run Python code?

Yes. Recent n8n versions run JavaScript and Python Code nodes in task runners. Tracklayer's production template includes Python runners inside each worker.

Guides

Similar apps

Tracklayer maintains the templates marked as such; n8n is a trademark of its owners and this site is not affiliated with them.