Skip to main content

Build Intelligent WhatsApp Chatbots

WhatsApp RAG Bot is a complete platform for creating AI-powered WhatsApp chatbots that leverage your knowledge base through Retrieval-Augmented Generation (RAG). Build smart assistants that understand context, schedule appointments, and seamlessly hand off to human operators.

Quick Start

Get your WhatsApp bot running in under 10 minutes

Installation Guide

Complete setup instructions for local and production environments

API Reference

Explore the complete API documentation

Configuration

Configure WhatsApp, OpenAI, and Google Calendar integrations

Core Features

RAG-Powered Responses

Upload documents and let AI answer questions using your knowledge base with vector similarity search

AI Conversations

Natural language understanding with OpenAI GPT, context-aware responses, and audio transcription

Calendar Integration

Automated appointment scheduling with Google Calendar, smart intent detection, and conflict resolution

Visual Flow Builder

Create custom conversation flows with a visual editor for rule-based interactions

Conversation Management

Real-time dashboard to monitor conversations, toggle AI modes, and handle human handoffs

Dual Bot Modes

Switch between AI-powered and classic rule-based bot modes for different use cases

Technology Stack

The platform is built with modern PHP and integrates with industry-leading APIs:
  • Backend: PHP 7.4+, MySQL with vector storage
  • AI: OpenAI GPT for conversations, embeddings, and Whisper for audio transcription
  • Messaging: WhatsApp Business API with webhook support
  • Calendar: Google Calendar API for appointment scheduling
  • Architecture: RAG (Retrieval-Augmented Generation) with cosine similarity search

Get Started

1

Set up your environment

Install PHP 7.4+, MySQL, and Composer dependencies
2

Configure API credentials

Add your WhatsApp Business API, OpenAI API key, and Google Calendar credentials
3

Upload knowledge base

Add PDF, DOCX, or TXT documents to build your bot’s knowledge base
4

Deploy and connect

Set up the webhook endpoint and start receiving WhatsApp messages

Ready to build?

Follow our quickstart guide to get your first bot running

Build docs developers (and LLMs) love