---
title: "Deploy AI WhatsApp Automated Business Platform"
description: "AI WhatsApp CRM , Grok or OpenAI Based Templates , Faster approval "
category: "Automation"
url: https://railway.com/deploy/ai-whatsapp-automated-business-platform
---

# Deploy AI WhatsApp Automated Business Platform

AI WhatsApp CRM , Grok or OpenAI Based Templates , Faster approval 

**[Deploy AI WhatsApp Automated Business Platform on Railway](https://railway.com/template/ai-whatsapp-automated-business-platform)**

- **Creator:** ankitgelda8's Projects
- **Category:** Automation
- **Total deploys:** 10

## Template content

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2.1
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### whatsapp-business-deploy

- **Source:** Ankitgelda8/whatsapp-business-deploy

### whatsapp-business-deploy-7i7a

- **Source:** Ankitgelda8/whatsapp-business-deploy

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

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

## Documentation

# Deploy and Host WhatsApp Business Platform on Railway

Self-hosted AI WhatsApp platform for cab rental, fleet owners, and small businesses. Send campaigns, manage a two-way inbox, run RAG smart replies from your PDF rate card, and automate fare quotes with Google Maps — all from a React dashboard. **No manual URL wiring:** Postgres, Redis, backend API URL, and dashboard are connected automatically.

**Demo:** [YouTube — Auto Quote Bot in 35 seconds](https://www.youtube.com/shorts/rQkfJ3N8zoc)

## About Hosting WhatsApp Business Platform

This template deploys four services: **Postgres**, **Redis**, **backend** (Node.js API + Twilio webhooks), and **dashboard** (React UI). Secrets (`JWT_SECRET`, `ADMIN_PASSWORD`) are auto-generated. You only need to set your **admin email** at deploy time — everything else can be configured in-app.

Twilio credentials, Grok/OpenAI keys, and Google Maps are optional at deploy and can be added later in **Settings** without redeploying.

**Estimated Railway cost:** ~$12–20/month for a 24/7 production stack (Postgres + Redis + 2 app services).

## 5-Minute Setup (Day 1 Success)

1. Click **Deploy** → enter your `ADMIN_EMAIL` → wait for all 4 services to go green
2. Open the **dashboard** public URL (not backend)
3. Log in with `ADMIN_EMAIL` + auto-generated password (check backend **Variables** tab for `ADMIN_PASSWORD`, or reset in Settings)
4. Go to **Settings** → **Twilio Setup Wizard** → connect sandbox (free $15 credit)
5. Copy webhook URL → paste in Twilio Console → send a test WhatsApp message

**You do NOT need to manually set `VITE_API_URL`** — it is wired to your backend automatically.

### Cab / rental quote bot (optional)

1. **Knowledge Base** → upload your rate-card PDF
2. **Settings** → enable **Auto Quote Bot** → category **Cab Rental**
3. Add `GOOGLE_MAPS_API_KEY` in Settings
4. Customer messages on WhatsApp → guided quote → instant fare → BOOK

## Common Use Cases

- **Cab & bus rental quotes** — automated fare quotes from PDF rate cards + Google Maps
- **Bulk WhatsApp campaigns** — broadcast to contact lists with delivery tracking
- **AI customer support** — RAG replies from uploaded FAQs and product catalogs
- **Two-way inbox** — read and reply to every WhatsApp message from a web dashboard
- **Multi-language replies** — Hindi, Marathi, Tamil, Gujarati, Telugu, and more

## Dependencies for WhatsApp Business Platform Hosting

- **Postgres** — contacts, messages, campaigns, knowledge base (included)
- **Redis** — campaign scheduler queue (included)
- **Twilio** — WhatsApp API ([free trial](https://www.twilio.com/try-twilio))
- **Optional:** xAI Grok, OpenAI, Resend, Google Maps API

### Deployment Dependencies

- [Twilio WhatsApp Sandbox](https://www.twilio.com/docs/whatsapp/sandbox)
- [Twilio WhatsApp Senders (go live)](https://console.twilio.com/us1/develop/sms/senders/whatsapp-senders)
- [GitHub — starter docs & support](https://github.com/Ankitgelda8/whatsapp-business-deploy)
- [Railway Template Kickbacks](https://docs.railway.com/templates/kickbacks)

### Implementation Details

**Services (exactly 4 — no duplicates):**

| Service | Role | Public? |
|---------|------|---------|
| Postgres | Database | No (private network) |
| Redis | Job queue | No (private network) |
| backend | API + `/webhook/twilio` | Yes |
| dashboard | Admin UI | Yes |

**Auto-configured variables:**

```env
DATABASE_URL=${{Postgres.DATABASE_URL}}
REDIS_URL=${{Redis.REDIS_URL}}
JWT_SECRET=${{secret(...)}}          # auto-generated
ADMIN_PASSWORD=${{secret(...)}}      # auto-generated
PUBLIC_URL=https://${{RAILWAY_PUBLIC_DOMAIN}}
VITE_API_URL=https://${{backend.RAILWAY_PUBLIC_DOMAIN}}/api/v1
```

**Webhook URL for Twilio:**

```
https://YOUR-BACKEND-DOMAIN/webhook/twilio
```

**Recommended volumes (attach in template):**

- Postgres → `/var/lib/postgresql/data`
- Redis → `/data`
- backend → `/app/uploads` (knowledge base files)

## Why Deploy WhatsApp Business Platform on Railway?

Railway is a singular platform to deploy your full infrastructure stack. This template gives you a production WhatsApp automation backend in one click — database, queue, API, and dashboard pre-wired — so you can focus on your business, not DevOps.

**Need help?** [Open a GitHub issue](https://github.com/Ankitgelda8/whatsapp-business-deploy/issues) or ask on [Railway Station](https://station.railway.com/all-templates/c92cc33d-81ba-4f19-ab68-3601667cc9ec).

## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — [Jul'26] WhatsApp automation platform using Evolution API, n8n & PostgreSQL
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/ai-whatsapp-automated-business-platform
