Deploy AI agent for WhatsApp: Chatwoot inbox + n8n workflows, ready in one click

Agente de IA en WhatsApp · Chatwoot + n8n en Railway

Deploy AI agent for WhatsApp: Chatwoot inbox + n8n workflows, ready in one click

Just deployed

Just deployed

n8n-primary

n8nio/n8n:2.46.4

Just deployed

Just deployed

/data

Just deployed

postgres-n8n

postgres:17-alpine

Just deployed

/var/lib/postgresql/data

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:

  1. Open https:///installation/onboarding to create the admin account (public sign-up is disabled).
  2. Open your n8n domain and create the owner account.
  3. In Chatwoot, add a WhatsApp Cloud inbox with your Meta credentials, then connect an Agent Bot that points to an n8n webhook.
  4. Optional: set GENERIC_TIMEZONE and TZ on 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

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

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

zer0person
1
View Template
Möbius v0.1 Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

bento
1