Back to Projects
WAutomator — Enterprise WhatsApp Marketing & Automation Platform
WAutomator is a scalable, multi-tenant SaaS platform designed to streamline business communication on WhatsApp using Meta’s official WhatsApp Cloud API. The platform enables organizations to create, manage, and automate high-volume messaging campaigns, integrate AI-powered chatbots, and gain actionable insights through real-time analytics—making it a complete solution for WhatsApp-based marketing and customer engagement.
5Views
Next.jsZustandTanStack QueryNestJSPostgreSQLRedisBullMQPrismaORM

The Story
# 🚀 WAutomator — Enterprise WhatsApp Marketing & Automation Platform
## 📌 Project Description
WAutomator is a scalable, multi-tenant SaaS platform designed to streamline business communication on WhatsApp using Meta’s official WhatsApp Cloud API.
The platform enables organizations to create, manage, and automate high-volume messaging campaigns, integrate AI-powered chatbots, and gain actionable insights through real-time analytics—making it a complete solution for WhatsApp-based marketing and customer engagement.
---
## 🎯 Key Features
### 🏢 Multi-Tenant SaaS Architecture
- Organization-based multi-tenancy
- Role-Based Access Control (RBAC)
- Team and user management system
- Secure API key management for integrations
---
### 💬 WhatsApp Cloud API Integration
- Integrated with Meta’s official WhatsApp Cloud API
- Template message synchronization
- Real-time webhook handling for delivery & read status
- Reliable and scalable message delivery system
---
### 📣 Campaign Management
- Create and manage bulk messaging campaigns
- Personalized messages using dynamic variables
- Schedule campaigns with queue-based execution
- Campaign performance tracking
---
### 🤖 AI-Powered Chatbots
- Integrated Google Gemini AI for intelligent responses
- Context-aware automated conversations
- Lead qualification and auto-replies
- Extensible chatbot workflows
---
### 💳 Billing & Subscription System
- Razorpay integration for payments
- Subscription plan management
- Automated billing and usage tracking
- Credit-based messaging system
---
### 📊 Advanced Analytics
- Real-time dashboard with key metrics:
- Message delivery rate
- Read rate
- Engagement analytics
- Data visualization for campaign performance
---
### ⚡ High-Performance Queue System
- Built with BullMQ and Redis
- Reliable background job processing
- Scalable message queue for bulk operations
- Retry and failure handling mechanisms
---
### 🔌 Developer API
- Secure API access for third-party integrations
- API key-based authentication
- Enables custom workflows and automation
---
## 🛠️ Tech Stack
### Frontend
- Next.js 15+ (App Router)
- React 19
- Tailwind CSS v4
- Shadcn UI
- Framer Motion
- Zustand
- TanStack Query (React Query)
- Recharts
---
### Backend
- NestJS (TypeScript)
- PostgreSQL
- Prisma ORM
- Redis
- BullMQ
- Passport.js (JWT Authentication)
---
### Integrations
- WhatsApp Cloud API
- Razorpay
- Google Gemini AI
---
### Infrastructure & Security
- Docker & Docker Compose
- Helmet (Security headers)
- Rate Limiting (Throttler)
- AES-256 encryption for sensitive data
---
## 🏗️ System Architecture Overview
User Dashboard (Next.js)
│
▼
Backend API (NestJS)
│
├── WhatsApp Cloud API (Messaging)
├── Gemini AI (Chatbot Engine)
├── Razorpay (Billing)
│
▼
Queue System (BullMQ + Redis)
│
▼
PostgreSQL Database
---
---
## 📈 Impact
- Enabled scalable WhatsApp marketing automation
- Improved campaign efficiency through scheduling and queuing
- Reduced manual effort with AI-powered automation
- Delivered real-time insights for data-driven decision making
---
## 👨💻 My Role
- Designed and developed full-stack SaaS architecture
- Implemented WhatsApp Cloud API integration
- Built campaign scheduling and queue processing system
- Integrated AI chatbot using Gemini
- Developed billing and subscription workflows
- Designed scalable database and backend modules
---
## 💡 Key Learnings
- Multi-tenant SaaS architecture design
- Scalable queue systems using Redis & BullMQ
- WhatsApp Cloud API integration & webhook handling
- Secure API design and authentication
- AI chatbot integration in real-world applications
---
