n8n on Railway
Workflow automation with a visual editor, 400+ integrations and AI agent nodes, self-hosted on Railway.
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
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
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.