Hexagon Infosoft
Enterprise Communications · Case Study

WaHexa: Scaling Omnichannel Marketing, Voice AI, and Conversational CRM

A unified customer communication platform that brings together WhatsApp Business messaging, trainable AI chatbots, conversational voice agents, and visual workflow automation into a single operational workspace.

The platform combines multi-source chatbot knowledge training, real-time WhatsApp voice calling via WebRTC, interactive appointment scheduling with Google Calendar sync, and multi-tenant team management to help businesses run high-volume communications smoothly.

Industry
Enterprise MarTech & Omnichannel CRM
Technology
Node.js · Next.js · MongoDB · Redis · WebRTC
Platform
WhatsApp Cloud API · Web Operations Portal
Solution Type
Omnichannel Communications & Voice AI Platform
The goal

Business Objective

Hexagon set out to build an enterprise customer engagement platform that streamlines communication across popular messaging apps without vendor lock-in.

  • 1Bring WhatsApp, Instagram, Facebook Messenger, Telegram, and X into a single collaborative team inbox
  • 2Support three flexible WhatsApp connection options: Meta Embedded Signup, manual Cloud API configuration, and QR-based device pairing
  • 3Allow businesses to train AI chatbots on their own website URLs, documents, and custom Q&A pairs with automated human handoff
  • 4Automate round-the-clock appointment booking, slot selection, and reminder workflows directly within WhatsApp chat
  • 5Enable automated conversational voice agents over WhatsApp voice calling using real-time WebRTC audio streaming
  • 6Deliver a multi-tenant administration portal with modular permissions, subscription management, and multi-currency billing
Key challenges

Key Challenges

Creating a comprehensive communications hub required handling heterogeneous protocols, knowledge base training, appointment availability logic, and low-latency voice streaming.

Multi-Option WhatsApp Provisioning

Supporting Meta Embedded Signup, manual Cloud API credentials, and QR-based device pairing required a unified messaging abstraction to handle different authentication flows and delivery statuses consistently.

Accurate Chatbot Knowledge Training

Ingesting company websites, uploaded PDFs, raw text, and Q&A pairs into AI prompts while strictly constraining answers to verified company scope and escalating out-of-scope queries to human agents.

Real-Time WhatsApp Appointment Scheduling

Calculating dynamic slot availability across working hours, slot durations, buffer intervals, and daily limits directly inside conversational WhatsApp chat without booking collisions.

Real-Time WhatsApp Voice AI

Answering and holding live WhatsApp voice calls required a headless WebRTC audio pipeline capable of real-time speech transcription, conversational reasoning, and voice playback with low latency.

Our solution

Our Solution

We engineered WaHexa as a modular, event-driven communications platform separating customer-facing web apps, an API and voice gateway, and distributed background workers.

Core Solution Highlights

  • Triple-option WhatsApp onboarding supporting 1-click Meta Embedded Signup, manual Cloud API credentials, and QR-based device pairing
  • Trainable AI chatbot engine supporting knowledge ingestion from website URLs, documents, text, and custom Q&A pairs with guardrails
  • Interactive WhatsApp appointment booking system featuring dynamic slot generation, Google Calendar sync, and automated reminders
  • Real-time WebRTC voice gateway enabling automated AI voice agents to conduct spoken conversations directly over WhatsApp
  • Visual drag-and-drop workflow builder with modular nodes for keyword triggers, conditional branching, delays, and webhooks
  • Shared team inbox with real-time socket updates, typing indicators, conversation tags, and agent assignment rules
Platform architecture

Platform Architecture & Technology

A decoupled architecture designed for high availability, fast socket updates, and secure tenant data isolation.

Next.js & React Client Apps

Presentation Layer

  • Next.js web portal with responsive Tailwind CSS styling
  • Interactive drag-and-drop workflow canvas
  • AI chatbot training interface for URLs, PDFs, and Q&A data
  • Appointment availability and calendar management views
  • Real-time chat updates powered by WebSockets

Node.js REST & Media Services

Application & Voice Gateway

  • Modular Express API routing decoupled by business domain
  • Unified messaging router managing all 3 WhatsApp connection modes
  • Appointment scheduling engine with conflict and buffer validation
  • Headless WebRTC voice engine managing real-time audio streams
  • Distributed background queues for campaigns and automated reminders

Databases & External Channels

Data & Integrations

  • MongoDB document database with workspace-scoped indexing
  • Redis queue infrastructure managing scheduled broadcasts and alerts
  • Two-way synchronization with Google Calendar and Google Sheets
  • Meta Graph connectors for WhatsApp, Instagram, and Facebook
  • External channel integrations for Telegram and X
01

Channel Ingress

Channel Webhooks
Reverse Proxy & SSL
02

Processing & Queuing

API Gateway
Appointment Scheduler
Message Queue
03

Intelligence & Automation

Trained Knowledge Bot
WebRTC Voice AI
Multi-Tenant Store
04

Delivery & Inbox

Shared Team Inbox
Outbound Dispatch
Technology stack

Technology & Capabilities

A robust modern technology stack selected for real-time responsiveness, modularity, and deployment independence.

Backend Core & Messaging

API and socket infrastructure

  • Node.js runtime with modular Express API architecture
  • WebSocket engine for live message and typing updates
  • Meta Embedded Signup and Cloud API integration pipelines
  • Social channel connectors for Instagram, Facebook, Telegram, and X

AI Chatbot & Voice AI

Knowledge training and telephony

  • Multi-source bot training on URLs, PDFs, raw text, and Q&A pairs
  • Guardrail controls with automated human handoff triggers
  • Headless WebRTC connection manager for WhatsApp voice calls
  • Speech recognition pipeline with text-to-speech voice playback

Frontend & Scheduling UI

Web portals and calendar tools

  • Next.js App Router with React and TypeScript
  • Tailwind CSS design system with light and dark themes
  • Interactive slot configuration and working hour management
  • Visual node canvas for multi-branch automation flows

Storage & Calendar Sync

Data persistence and integrations

  • MongoDB document store with workspace-scoped indexing
  • Redis queue architecture with automated retry policies
  • Google Calendar API integration for two-way event scheduling
  • Google Sheets connector for automated lead and booking export
Core features

Key Features

A complete suite of capabilities built for customer support, marketing automation, AI training, appointment scheduling, and voice assistance.

Triple-Option WhatsApp Connection

Provides three flexible onboarding paths: 1-click Meta Embedded Signup for instant verification, manual Cloud API credential entry for custom enterprise setups, and QR-based device pairing for direct number access.

Trainable AI Knowledge Chatbots

Enables businesses to train AI chatbots on their own website URLs, uploaded PDF documents, raw text, and custom Q&A pairs. Includes guardrails to define business scope and automatically route out-of-scope questions to human staff.

WhatsApp Appointment Booking & Scheduling

Allows customers to view available slots, reserve appointments, and receive automated confirmations and reminders directly inside WhatsApp, with real-time two-way synchronization to Google Calendar.

Conversational WhatsApp Voice Telephony

Answers inbound WhatsApp voice calls via real-time WebRTC, transcribes customer speech, resolves user intent with AI, and streams back natural voice responses with low latency.

Drag-and-Drop Workflow Automation

Visual flow canvas allowing teams to build multi-branch logic, keyword triggers, delay timers, agent assignment rules, Google Calendar/Sheet sync, and webhook callbacks.

Unified Omnichannel Team Inbox

Brings conversations from WhatsApp, Instagram, Facebook Messenger, Telegram, and X into one shared inbox featuring real-time socket updates, typing indicators, and private team notes.

WaHexa Omnichannel Shared Inbox, Bot Training Center, and Appointment Scheduling Dashboard

Centralized Communications Hub

Real-Time Agent Inbox, AI Training Center, and Appointment Manager

WaHexa provides an intuitive interface for training AI chatbots, managing appointment bookings, designing multi-stage automation flows, and answering live customer conversations across channels.

  • Unified conversation timeline with message history across WhatsApp and social channels
  • AI knowledge base training console supporting website scraping, document uploads, and Q&A curation
  • Appointment scheduling manager with slot availability controls and Google Calendar sync
  • Drag-and-drop workflow designer with conditional branching and custom variables
  • Broadcast campaign manager featuring audience segmentation and queue tracking
Design approach

User Experience & System Design

Built to provide support agents and operations teams with clean ergonomics for high-volume, all-day communication workflows.

  • Three-Pane Inbox Layout: Smooth navigation between channels, conversation threads, and active chat streams minimizes interface friction during peak support volume.
  • Frictionless Bot Training: Simple URL input, file drop zones for documents, and intuitive Q&A forms allow non-technical teams to train and update bots in minutes.
  • Interactive Appointment UX: Natural WhatsApp interactive buttons and list pickers allow customers to choose dates and time slots effortlessly without leaving chat.
  • Universal RTL & Multi-Language Support: Pre-configured localization accommodating English, Arabic (with native right-to-left layout flipping), Spanish, and other major languages.
  • Live Message Telemetry: Immediate message bubble rendering with progressive status badges (sent, delivered, read) backed by reactive WebSockets.
Results & impact

Platform Capabilities & Operational Impact

Engineered for high-throughput message processing, operational reliability, and multi-channel consolidation.

Automated Knowledge Inquiries: Trained AI chatbots handle routine customer questions 24/7, escalating complex inquiries to human agents with full context.

Conversational Appointment Capture: Converts customer conversations into booked calendar events automatically, eliminating phone tag and manual scheduling delays.

Low-Latency Event Dispatch: In-memory WebSockets and indexed database queries maintain fast socket dispatch for real-time agent responses.

Deployment Independence: Deployable on dedicated private cloud environments, eliminating recurring per-seat licensing fees while maintaining complete operational control.

FAQ

Frequently asked questions

WaHexa provides a dedicated bot training module where businesses can train models on their own content. The system accepts website URLs for automated crawling, uploaded documents (such as PDF guides or product manuals), raw reference text, and structured Q&A pairs. Administrators can define business scope guidelines and set out-of-scope rules to trigger polite declines or automatically transfer the chat to a live support agent.

Planning an enterprise messaging platform or conversational AI workflow?

Hexagon Infosoft engineers high-throughput communications backbones, real-time WebRTC voice agents, and multi-tenant SaaS platforms tailored to your business.