Deploy AI agent for WhatsApp: Chatwoot inbox + n8n workflows, ready in one click
Agente de IA en WhatsApp · Chatwoot + n8n en Railway
n8n-worker
Just deployed
chatwoot
Just deployed
n8n-primary
Just deployed
redis
Just deployed
/data
sidekiq
Just deployed
postgres-n8n
Just deployed
/var/lib/postgresql/data
postgres-chatwoot
Just deployed
/var/lib/postgresql/data
chatwoot-storage
Bucket
Just deployed
Deploy and Host Chatwoot + n8n with Railway
Chatwoot + n8n is a ready-to-run stack for building AI agents on WhatsApp and other channels. Chatwoot is the open-source omnichannel inbox where your team sees and answers every conversation. n8n is the workflow engine where your AI agent, automations and integrations live. Both come pre-wired over Railway's private network.
About Hosting Chatwoot + n8n
This template deploys 7 services and 1 storage bucket:
- Chatwoot (web app) and Sidekiq (background jobs), with attachments stored in a Railway bucket
- n8n primary (editor and webhooks) and n8n worker (executions in queue mode)
- Postgres with pgvector for Chatwoot and a separate Postgres for n8n, both with volumes
- Redis, shared by Chatwoot (db 0) and the n8n queue (db 1), with a volume
All passwords and encryption keys are generated at deploy time. Only Chatwoot and the n8n editor get public domains; databases and Redis stay on the private network.
Requirements: Railway Hobby plan or higher. The stack needs about 2 GB of RAM, so it does not run on the free trial.
After deploying:
- Open
https:///installation/onboardingto create the admin account (public sign-up is disabled). - Open your n8n domain and create the owner account.
- In Chatwoot, add a WhatsApp Cloud inbox with your Meta credentials, then connect an Agent Bot that points to an n8n webhook.
- Optional: set
GENERIC_TIMEZONEandTZon both n8n services to your timezone.
Common Use Cases
- AI customer service agent on WhatsApp with human handoff in Chatwoot
- Sales and lead-qualification bots that sync to your CRM through n8n
- One shared inbox for WhatsApp, Instagram, website chat and email, with automations on top
Dependencies for Chatwoot + n8n Hosting
- A Meta Business account with a WhatsApp Cloud API number (for the WhatsApp channel)
- An API key from your AI provider of choice, used inside n8n
Deployment Dependencies
- Chatwoot: https://github.com/chatwoot/chatwoot
- n8n: https://github.com/n8n-io/n8n
- WhatsApp Cloud API: https://developers.facebook.com/docs/whatsapp/cloud-api
Why Deploy Chatwoot + n8n on Railway?
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 Chatwoot + n8n 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.
Template Content
n8n-worker
n8nio/n8n:2.46.4chatwoot
chatwoot/chatwoot:v4.19.1n8n-primary
n8nio/n8n:2.46.4redis
redis:7.4-alpinesidekiq
chatwoot/chatwoot:v4.19.1postgres-n8n
postgres:17-alpinepostgres-chatwoot
pgvector/pgvector:0.8.7-pg17chatwoot-storage
Bucket

