---
title: "Deploy WAHA + n8n (w/ persistent nodes)"
description: "Automate your WhatsApp with workflows"
category: "Bots"
url: https://railway.com/deploy/waha-n8n
---

# Deploy WAHA + n8n (w/ persistent nodes)

Automate your WhatsApp with workflows

**[Deploy WAHA + n8n (w/ persistent nodes) on Railway](https://railway.com/template/waha-n8n)**

- **Creator:** myworkspace
- **Category:** Bots
- **Total deploys:** 87

## Template content

### n8nio/n8n https://devicons.railway.com/i/n8n.svg

- **Image:** n8nio/n8n
- **Health check:** /healthz
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:17

### devlikeapro/waha https://waha.devlike.pro/images/logo.svg

- **Image:** devlikeapro/waha
- **Health check:** /ping
- **Public domain:** Yes

## Documentation

![Screenshot 2026-02-26 18:14:33](https://gist.githubusercontent.com/nsx07/648f6dee555ff9909530caaabdd61243/raw/769b27e624f840c7c2c47335c6cdfef0ea968de1/Screenshot%25202026-02-26%2520181433.png)
# Deploy and Host WAHA + n8n on Railway

**WAHA + n8n** lets you automate WhatsApp using powerful, visual workflows. Connect WhatsApp events to APIs, databases, CRMs, AI tools, and internal services without writing glue code. This template ships a fully integrated setup, ready to use in minutes.

## About Hosting WAHA + n8n

Hosting WAHA alongside n8n gives you a complete WhatsApp automation backend running in the cloud. WAHA handles WhatsApp session management and messaging, while n8n orchestrates workflows, logic, and integrations. This template automates the setup, installs the WAHA n8n node automatically, and exposes both services with minimal configuration. Ideal for production, CI environments, and rapid prototyping, with optional persistence via PostgreSQL.

## Common Use Cases

* WhatsApp chatbots and autoresponders
* CRM, support, and lead automation
* AI-driven WhatsApp assistants

## Dependencies for WAHA + n8n Hosting

* Docker-based runtime
* Node.js (bundled with n8n)

### Deployment Dependencies

* WAHA n8n Node: [https://waha.devlike.pro/docs/integrations/n8n/](https://waha.devlike.pro/docs/integrations/n8n/)
* n8n Documentation: [https://docs.n8n.io/](https://docs.n8n.io/)

### Implementation Details (Optional)

This template installs the WAHA n8n node automatically at startup, ensuring users can immediately access WAHA nodes inside the n8n UI without manual npm commands or SSH access.

## Why Deploy WAHA + 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 WAHA + 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.


## Similar templates

- [Telegram JavaScript Bot](https://railway.com/deploy/5lRkWa) — A template for Telegram bot in JavaScript using grammY
- [Cobalt Tools [Updated Sep ’26]](https://railway.com/deploy/cobalt) — Cobalt Tools [Sep ’26] (Media Downloader, Converter & Automation) Self Host
- [Telegram Gateway](https://railway.com/deploy/railway-telegram-gateway) — Multi-bot Telegram webhook gateway with WebSocket event streaming

Open this page in a browser: https://railway.com/deploy/waha-n8n
