WhatsWay
Complete WhatsApp Business Platform
Powerful WhatsApp Business platform for efficient communication management
đ What is WhatsWay?
WhatsWay is a powerful WhatsApp Business platform that helps businesses manage WhatsApp communications efficiently. Send campaigns, manage inbox, create automations, and track performance - all in one place.
đ¯ Perfect For
- âĸ Small to large businesses using WhatsApp for customer communication
- âĸ Marketing teams running WhatsApp campaigns
- âĸ Customer support teams managing inquiries
- âĸ Sales teams nurturing leads through WhatsApp
⨠Core Features
Dashboard
Real-time statistics, campaign performance, system health monitoring, and comprehensive analytics.
Contact Management
Import CSV files, add contacts manually, organize into groups, advanced filtering and segmentation.
Campaign Types
Contact campaigns, CSV campaigns, API campaigns, scheduled delivery, and marketing campaigns.
Message Templates
Create WhatsApp templates with text, images, buttons, interactive elements, and multi-language support.
Team Inbox
Real-time message management, conversation assignment, 24-hour response window, team collaboration.
Automation Builder
Visual drag-and-drop interface, trigger-based workflows, conditional logic, time delays.
Team Management
Admin, Manager, and Agent roles with different access levels, permissions, and activity tracking.
Multi-Channel Support
Manage multiple WhatsApp numbers, channel-specific data separation, unified dashboard.
Advanced Analytics
Comprehensive reporting, delivery rates, engagement metrics, ROI tracking, performance insights.
đ Main Dashboard
Real-time statistics showing campaign performance, message delivery rates, contact growth, team activity, and system health monitoring at a glance.
đ Campaign Management
Create and manage multiple campaign types: Contact-based campaigns, CSV upload campaigns, API integration campaigns, and scheduled campaigns with delivery time configuration.
đŦ Team Inbox
Real-time message management with 24-hour response window. Assign conversations to team members, use quick replies, and manage customer communications efficiently .
đ¤ Automation Builder
Visual drag-and-drop interface for creating trigger-based workflows with conditional logic, time delays, and keyword-based automated responses .
đ Contact Management
Import contacts via CSV upload, add individual contacts manually, organize into groups, and use advanced filtering and segmentation options .
đ Message Templates
Create WhatsApp message templates with text, images, buttons, and interactive elements. Submit templates for WhatsApp approval and track their status .
đ Analytics Dashboard
Comprehensive analytics with message delivery rates, campaign performance metrics, user engagement tracking, and detailed reporting features .
đ Step by Step Setup Guide
đ Step 1: System Requirements
đģ Server Requirements
- âĸ OS: Ubuntu 20.04+ / Windows Server 2019+ / macOS 10.15+
- âĸ Node.js: Version 18 or higher
- âĸ PostgreSQL: Version 14 or higher
- âĸ RAM: 2GB minimum (4GB recommended)
- âĸ Storage: 10GB minimum available space
- âĸ CPU: 2 cores minimum
- âĸ SSL Certificate: Required for webhooks
đą Required Accounts
- âĸ WhatsApp Business Account
- âĸ Meta Business Account
- âĸ Facebook Developer Account
- âĸ Domain name with SSL certificate
- âĸ Email account for notifications
⥠Step 2: Install Dependencies
For Ubuntu/Debian:
# Update system packages sudo apt update && sudo apt upgrade -y # Install Node.js 18 curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt install -y nodejs # Verify Node.js installation node --version npm --version # Install PostgreSQL sudo apt install -y postgresql postgresql-contrib # Install PM2 (Process Manager) sudo npm install -g pm2 # Install Nginx (for reverse proxy) sudo apt install -y nginx # Install certbot for SSL sudo apt install -y certbot python3-certbot-nginx
đī¸ Step 3: Database Setup
# Switch to postgres user sudo -u postgres psql # Create database and user CREATE DATABASE whatsway; CREATE USER whatsway_user WITH PASSWORD 'your_secure_password'; GRANT ALL PRIVILEGES ON DATABASE whatsway TO whatsway_user; # Exit PostgreSQL \q # Test database connection psql -h localhost -U whatsway_user -d whatsway
â ī¸ Important: Replace 'your_secure_password' with a strong password and save it safely !
đĻ Step 4: Application Installation
# Navigate to your web directory cd /var/www/ # Extract WhatsWay package (replace with your actual package) sudo unzip whatsway.zip sudo mv whatsway-main whatsway sudo chown -R $USER:$USER whatsway cd whatsway # Install dependencies npm install # Set proper permissions sudo chown -R $USER:$USER node_modules chmod -R 755 .
âī¸ Step 5: Environment Configuration
# Copy environment template cp .env.example .env # Edit environment file nano .env
Configure .env file:
# Database Configuration DATABASE_URL=postgresql://whatsway_user:your_secure_password@localhost:5432/whatsway # Session Configuration (Generate a random 32 character key) SESSION_SECRET=your_32_character_secret_key_here # WhatsApp Configuration (Get these from Facebook Developer Console) WHATSAPP_API_VERSION=v23.0 WHATSAPP_ACCESS_TOKEN=your_whatsapp_permanent_token WHATSAPP_BUSINESS_ACCOUNT_ID=your_business_account_id WHATSAPP_WEBHOOK_VERIFY_TOKEN=your_custom_webhook_verify_token # Application Configuration APP_URL=https://your-domain.com PORT=5000 # Debug Configuration (optional) DEBUG=false LOG_LEVEL=info
đ Step 6: SSL Certificate Setup
# Generate SSL certificate using Certbot sudo certbot --nginx -d your-domain.com # Configure Nginx for WhatsWay sudo nano /etc/nginx/sites-available/whatsway
Nginx Configuration:
server {
listen 80;
server_name your-domain.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
server_name your-domain.com;
ssl_certificate /etc/letsencrypt/live/your-domain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/your-domain.com/privkey.pem;
location / {
proxy_pass http://localhost:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_bypass $http_upgrade;
}
}
# Enable site and restart Nginx sudo ln -s /etc/nginx/sites-available/whatsway /etc/nginx/sites-enabled/ sudo nginx -t sudo systemctl restart nginx
đ Step 7: Database Migration
# Navigate to WhatsWay directory cd /var/www/whatsway # Run database migrations npm run db:push # Verify database tables created psql -h localhost -U whatsway_user -d whatsway -c "\dt"
â Success: You should see all WhatsWay tables created successfully !
đ Step 8: Build and Start Application
# Build the application npm run build # Start with PM2 (Production) pm2 start ecosystem.config.js # Or start directly (Development) npm run dev # Check PM2 status pm2 status pm2 logs whatsway # Setup PM2 to start on boot pm2 startup pm2 save
đą Step 9: WhatsApp Business Setup
6.1 Create Facebook Developer App
- Go to developers.facebook.com
- Create a new app â Business
- Add WhatsApp product
- Get your App ID and App Secret
- Generate permanent access token
6.2 Configure Webhook
- Go to WhatsApp â Configuration
- Set webhook URL:
https://your-domain.com/webhook - Set verify token (same as in .env)
- Subscribe to message events
- Add phone number and verify
đ Note: Detailed WhatsApp Business API setup guide is available in the Meta Developer documentation.
đ Step 10: First Login & Testing
đ Default Login Credentials
â ī¸ Important: Change password immediately after first login!
â Quick Test Checklist
- âĸ Successfully logged into admin panel
- âĸ Dashboard loads without errors
- âĸ Added WhatsApp channel successfully
- âĸ Webhook receiving test messages
- âĸ Can send test message
đ ī¸ Common Issues & Solutions
â Application won't start
- âĸ Check if PostgreSQL is running:
sudo systemctl status postgresql - âĸ Verify database connection in .env file
- âĸ Check if port 5000 is available:
lsof -i :5000 - âĸ View application logs:
pm2 logs whatsway
â ī¸ Webhook not receiving messages
- âĸ Verify SSL certificate is valid
- âĸ Check webhook URL in Meta Developer Console
- âĸ Ensure webhook verify token matches .env
- âĸ Test webhook:
curl -X GET "https://your-domain.com/webhook?hub.verify_token=your_token&hub.challenge=test"
âšī¸ Messages not sending
- âĸ Verify WhatsApp access token is valid
- âĸ Check if phone number is verified in Meta Business
- âĸ Ensure message template is approved
- âĸ Check rate limits and API quotas
đ Support & Contact
đ§ Getting Help
Ticket Support
Raise a ticketWhen Reporting Issues Include:
- âĸ Detailed error messages
- âĸ Steps to reproduce the issue
- âĸ Environment details (OS, Node.js version)
- âĸ Log files (remove sensitive information)
- âĸ Screenshots if applicable