{"id":"pg_l5p57yvobev3","property_id":"prp_vlhkwkfqvw6r","domain_id":"dom_8rouhwjxaucl","root_domain":"railway.com","locale":"en","url":"https://railway.com/deploy/n8n-queue-mode-workers-webhooks-task-runners--n8n-scalable-queue-mode-workers-webhooks","url_hash":"ac4d499ddaf90fe2ae5df96b80396f38139faa8d9c92c8280b74863cd3290745","path":"/deploy/n8n-queue-mode-workers-webhooks-task-runners--n8n-scalable-queue-mode-workers-webhooks","depth":1,"canonical_url":"https://railway.com/deploy/n8n-queue-mode-workers-webhooks-task-runners--n8n-scalable-queue-mode-workers-webhooks","canonical_page_id":null,"page_type":"other","page_type_guess":"other","state":"indexed","skip_reason":null,"priority":"0.9","discovered_via":"sitemap","first_seen_at":"2026-08-27T09:08:12.028Z","last_seen_at":"2026-08-27T09:08:12.028Z","http_status":200,"content_hash":"166968672f0e08732cb4bf2fc424876f18a859c1a3f38f52c2731383ce9a87dd","title":"Deploy & Host n8n — Queue Mode, Workers, Webhooks & Task Runners | Railway","description":"Deploy and host n8n — Queue Mode, Workers, Webhooks & Task Runners on Railway in one click — always-on servers, built-in databases, and GitHub auto-deploys. Production-ready n8n with Redis queue, workers, webhooks, and task runners","author":null,"published_at":"2026-02-25T20:03:49.777Z","modified_at":null,"word_count":639,"reading_time_sec":174,"lang_detected":"en","images":[],"links_out":null,"markdown_source":"readability","refresh_interval":"monthly","last_fetched_at":"2026-08-27T09:08:27.338Z","next_refresh_at":"2026-09-26T09:08:27.338Z","runs_count":1,"changes_count":0,"last_changed_at":null,"fail_count":0,"last_error":null,"created_at":"2026-08-27T09:08:12.028Z","updated_at":"2026-08-27T09:08:12.028Z","inlinks":0,"inlinks_body":0,"outlinks":28,"outlinks_external":6,"anchor_terms":[],"template_score":null,"cash":"0","cash_total":"0.05","pagerank":null,"is_orphan":true,"link_confirmed":true,"discovered_wave":0,"embedded_hash":"166968672f0e08732cb4bf2fc424876f18a859c1a3f38f52c2731383ce9a87dd","embedded_at":"2026-08-27T09:14:07.641Z","domain_name":"Railway","brand_color":"#17222f","domain_rank":494,"spam_score":6,"markdown":"## Deploy and Host n8n on Railway\n\n**n8n** is an open-source workflow automation platform that enables you to connect apps, automate business processes, and build AI-powered workflows with full flexibility. It combines the ease of no-code tools with the power of custom code, making it ideal for developers and teams who need scalable automation.\n\nThis template deploys a **production-ready, scalable n8n architecture** on Railway, including queue mode, workers, webhooks, and external task runners.\n\nOfficial documentation:  \n[https://docs.n8n.io/](https://docs.n8n.io/)\n\n* * *\n\n### About Hosting\n\nHosting n8n gives you complete control over your automation infrastructure while maintaining flexibility and scalability. You can run workflows with custom logic, integrate with hundreds of services, and extend functionality using code nodes or community packages.\n\nThis template deploys n8n using a **distributed architecture** designed for production workloads:\n\n-   Editor service (main UI & API)\n-   Worker service (execution processing)\n-   Webhook service (high-performance triggers)\n-   External Task Runners (isolated code execution)\n\nRunning n8n on Railway allows you to leverage managed infrastructure, automatic networking, and persistent storage without managing servers manually.\n\n* * *\n\n### Why Deploy\n\nDeploying n8n on Railway combines the power of open-source automation with the simplicity of managed infrastructure.\n\nBenefits include:\n\n-   Managed PostgreSQL and Redis support\n-   Persistent volumes for workflow data\n-   Automatic networking between services\n-   Easy scaling of workers and runners\n-   Built-in monitoring and logs\n-   Simple environment variable management\n-   Production-ready deployment in minutes\n\nThis makes Railway an excellent platform for teams, agencies, startups, and enterprises that need reliable automation infrastructure.\n\n* * *\n\n### Architecture Overview\n\nThis template includes a scalable multi-service deployment:\n\n-   **Editor** — Main n8n interface and API\n-   **Worker** — Executes workflows in queue mode\n-   **Webhook** — Dedicated service for incoming triggers\n-   **Task Runners** — External isolated execution for Code nodes (JS & Python)\n-   **PostgreSQL** — Workflow database\n-   **Redis** — Queue and execution broker\n\nQueue mode ensures high performance and reliability under heavy workloads.\n\n* * *\n\n### Common Use Cases\n\n#### Business Automation\n\nAutomate repetitive processes across tools like CRMs, databases, and SaaS platforms.\n\n#### AI-Powered Workflows\n\nIntegrate LLMs, AI agents, embeddings, and automation pipelines.\n\n#### Marketing Automation\n\nAutomate campaigns, lead capture, segmentation, and customer journeys.\n\n#### Sales & CRM\n\nSync data between systems, automate follow-ups, and manage pipelines.\n\n#### Customer Support\n\nTrigger workflows from helpdesk events and automate responses.\n\n#### DevOps & IT Automation\n\nAutomate deployments, monitoring alerts, and infrastructure tasks.\n\n#### Data Integration & ETL\n\nMove and transform data between APIs, databases, and analytics tools.\n\n* * *\n\n### Dependencies for\n\nThis template requires the following core capabilities:\n\n-   Workflow orchestration and execution\n-   Persistent database storage\n-   Queue system for distributed processing\n-   External execution environment for isolated code tasks\n\n#### Deployment Dependencies\n\n##### PostgreSQL\n\nPrimary database for workflows, credentials, and execution data.\n\n##### Redis\n\nQueue backend for distributed workflow execution and task coordination.\n\n* * *\n\n### Task Runners (External Execution)\n\nThis template includes **external task runners**, which provide:\n\n-   Isolated execution for Code nodes\n-   Support for JavaScript and Python tasks\n-   Better scalability\n-   Improved security\n-   Reduced load on main services\n\nExternal runners are recommended for production deployments.\n\nLearn more:  \n[https://docs.n8n.io/hosting/configuration/task-runners/](https://docs.n8n.io/hosting/configuration/task-runners/)\n\n* * *\n\n### License\n\nn8n is distributed under the **Sustainable Use License**.\n\nThis license allows free usage for personal and internal business automation while protecting the project from being offered as a competing SaaS product.\n\nMore details:  \n[https://docs.n8n.io/reference/license/](https://docs.n8n.io/reference/license/)\n\n* * *\n\n### Documentation\n\nOfficial Documentation  \n[https://docs.n8n.io/](https://docs.n8n.io/)\n\nDeployment & Architecture  \n[https://docs.n8n.io/hosting/](https://docs.n8n.io/hosting/)\n\nAI & Advanced Usage  \n[https://docs.n8n.io/advanced-ai/](https://docs.n8n.io/advanced-ai/)\n\n* * *\n\n### Production Ready Template\n\nThis Railway template is designed for:\n\n-   High availability\n-   Scalability\n-   AI workloads\n-   Automation agencies\n-   Enterprise automation\n-   Developers building automation platforms\n\n* * *\n\n### Need Help?\n\nIf you encounter issues, consult the official documentation or community resources:\n\n-   [https://docs.n8n.io/](https://docs.n8n.io/)\n-   [https://community.n8n.io/](https://community.n8n.io/)","storage":{"htmlKey":"stealpage/html/railway.com/pg_l5p57yvobev3/run_mrr0nmzp2mcc.html.gz","markdownKey":"stealpage/md/railway.com/pg_l5p57yvobev3/run_mrr0nmzp2mcc.md.gz"},"facets":{"page_id":"pg_l5p57yvobev3","domain_id":"dom_8rouhwjxaucl","root_domain":"railway.com","locale":"en","format":"research","depth":2,"technicality":4,"promotional":2,"originality":2,"audience":"developer","funnel_stage":"consideration","intent":"informational","evidence":"none","tone":"corporate","has_code":false,"code_langs":[],"has_data":false,"has_tables":false,"has_images":false,"has_video":false,"has_faq":true,"external_links":8,"heading_count":19,"topics":["automation","devops","workflow"],"keywords":["n8n","queue mode","workers","webhooks","task runners","Railway","scalable architecture","distributed processing","external task runners"],"entities":{},"takeaways":["The page explains how to deploy a production-ready n8n setup on Railway, emphasizing scalability and reliability for automation workflows.","It outlines the key components of the architecture, including the editor, worker, webhook, and task runner services, along with supporting databases and queue systems.","The content highlights the benefits of using Railway for hosting n8n, such as managed infrastructure, automatic networking, and easy scaling.","It includes common use cases for n8n, such as business automation, AI workflows, marketing automation, and DevOps tasks.","The page serves as a guide for developers and teams looking to set up a robust and scalable n8n environment with external task runners for isolated code execution."],"summary":"This page provides a technical overview of deploying n8n on Railway with a scalable architecture that includes queue mode, workers, webhooks, and external task runners.","ai_likelihood":"0.071","shelf_life":"evergreen","quality_score":"0.4576","fingerprint":"166968672f0e08732cb4bf2fc424876f18a859c1a3f38f52c2731383ce9a87dd","model":"qwen/qwen3-30b-a3b","classified_at":"2026-08-27T09:11:40.690Z","created_at":"2026-08-27T09:11:40.690Z","updated_at":"2026-08-27T09:11:40.690Z"},"assets":[{"kind":"image","src_url":"https://og.railway.com/api/image?AuthorImage=https%3A%2F%2Fbaserow-backend-production20240528124524339000000001.s3.amazonaws.com%2Fuser_files%2FhBOEgLSZO0BCnj5aPzvXxlGKplR6P8o8_4ffb285e13e5f27b2e3c3d0f74fa20830b7e8b9f01a29777975190f59ff1b826.png&AuthorName=Vamos+Automatizar&Category=Automation&Description=Production-ready+n8n+with+Redis+queue%2C+workers%2C+webhooks%2C+and+task+runners&TemplateImage=https%3A%2F%2Fraw.githubusercontent.com%2Flobehub%2Flobe-icons%2Frefs%2Fheads%2Fmaster%2Fpackages%2Fstatic-png%2Fdark%2Fn8n-color.png&Title=n8n+%E2%80%94+Queue+Mode%2C+Workers%2C+Webhooks+%26+Task+Runners&fileType=png&layoutName=template","r2_key":null,"alt":null,"caption":null,"width":null,"height":null,"is_hero":true,"zone":"main"},{"kind":"image","src_url":"https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/n8n-color.png","r2_key":null,"alt":"","caption":null,"width":null,"height":null,"is_hero":false,"zone":"main"},{"kind":"image","src_url":"https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg","r2_key":null,"alt":"","caption":null,"width":null,"height":null,"is_hero":false,"zone":"main"},{"kind":"image","src_url":"https://devicons.railway.app/i/postgresql.svg","r2_key":null,"alt":"","caption":null,"width":null,"height":null,"is_hero":false,"zone":"main"},{"kind":"image","src_url":"https://devicons.railway.app/N8N%20Main%20+%20Worker?variant=light","r2_key":null,"alt":"","caption":null,"width":null,"height":null,"is_hero":false,"zone":"unknown"},{"kind":"image","src_url":"https://devicons.railway.app/Evolution%20API%20with%20n8n?variant=light","r2_key":null,"alt":"","caption":null,"width":null,"height":null,"is_hero":false,"zone":"unknown"},{"kind":"image","src_url":"https://devicons.railway.app/Postgres%20Backup?variant=light","r2_key":null,"alt":"","caption":null,"width":null,"height":null,"is_hero":false,"zone":"unknown"}],"shots":[],"history":[{"id":"run_mrr0nmzp2mcc","started_at":"2026-08-27T09:08:27.267Z","http_status":200,"fetcher":"direct","changed":false,"diff":null,"word_count":639}],"citedBy":[]}