WaMax Bot Configuration Studio
Centralized Administrative Dashboard • 28 Master Rule Sections
API Docs Dashboard
Tenant Profile:
Clinic Profile
Salon / Spa
Appliance Repair
E-Commerce
Custom Session
Section 1: Company / Bot Identity
Core display name, legal business identity, phone numbers & overview description.
Remote Cloud Configuration URL Engine
Host brain.json, prompt.json, or intents.json on external cloud URLs for dynamic live fetching.
Enable Dynamic Cloud URL Configuration Fetching
Bot will fetch latest JSON configurations directly from remote Web URLs with local fallback.
Section 2: Persona & Tone Controls
Bot behavioral style, conversation persona, emoji frequency and robotic response safeguards.
Section 3: Business Hours & Operational Shifts
Working days, opening/closing hours, lunch break windows & holiday modes.
Holiday / Closure Mode
When active, AI informs customers of temporary business closure.
Section 4: Social Links & Digital Directory
Official web address, location maps link, review page, and social channels.
Section 5: Multi-Language & Auto-Detect Engine
Supported languages, default language fallback, and automatic language mirroring.
Auto-Detect Customer Language
Automatically switch reply language based on inbound message language.
Section 6: Keyword Triggers & Custom Prompts
Exact and fuzzy keyword triggers with custom auto-replies (prompt.json).
Section 7: Voice STT & TTS Engine Configuration
Speech-to-text providers (Deepgram/Whisper) and text-to-speech voice playback modes.
Section 8: AI Model Pipeline & Multi-Tier Fallbacks
Primary AI model (Gemini 2.5 Flash), secondary fallback (OpenRouter) & confidence thresholds.
Section 9: Booking Rules & Capacity Engine
Resource capacity model, advance booking window, and appointment slot hold durations.
Section 10: Staff / Doctor Directory & Schedules
Available doctors, specialties, consultation fees, work days and time slots.
Doctor / Staff Name Specialty Fee (₹) Available Days Time Slots Action
Section 11: Products, Services & Pricing Catalog
List of offered products/services, regular rates, offer pricing, stock-in/out status, and warranty periods.
Item / Product Name Category Regular Price (₹) Offer Rate (₹) Stock / Warranty Status Action
Appliance Service, Warranty Claim & Spare Parts Engine
Configure automated warranty registration, doorstep inspection fees, and serial number verification rules.
Auto-Register Warranty on Purchase
Automatically issue digital warranty certificate via WhatsApp upon service completion.
E-Commerce Stock-In / Stock-Out & Offer Manager
Live stock tracking, promotional coupon codes, flash sale rates, and out-of-stock auto handlers.
Auto Hide Out-of-Stock Products
Prevent users from placing orders when stock count reaches 0.
Section 12: Location Scope & Branch Directory
Multi-branch locations, addresses and "Available At" scope mapping.
Section 13: Appointment Types & Follow-Up Rules
Rules for free follow-up validity, review consultations, and repeat visits.
Section 14: Reschedule & Cancellation Policy
Cutoff hours for free cancellation, rescheduling restrictions and refund rules.
Section 15: Manual UPI & Payment Instructions
UPI VPA address, Payee Name, cash collection options & payment guidance.
Require Payment Proof Screenshot
Prompt customer to upload screenshot of UPI receipt after payment.
Section 16: Payment Verification & Reaction Map
WhatsApp group verification workflow using reactions ✅ (Verified), ❌ (Rejected), 👀 (Review).
Section 17: Invoice & Billing Rules
Tax calculation formula, GST percentage and receipt dispatch triggers.
Auto-Send PDF Invoices via WhatsApp
Generate and send PDF invoice link upon booking confirmation.
Section 18: Packages, Membership & Offers Engine
Multi-session treatment packages, health cards and active discounts.
Section 19: Conversation Memory & Context Layers
Contact preferences, patient history tracking and relationship types (Self, Son, Parent, Spouse).
Section 20: Progressive Field Collection
Mandatory fields required on 1st booking vs fields requested progressively.
Section 21: Duplicate Detection & Merge Safeguards
Matching signals to detect duplicate patients and administrative merge authorization.
Automatic Profile Deduplication Flagging
Flag duplicate patient records with matching phone or DOB for admin merge.
Section 22: Staff WhatsApp Attendance & Geofencing
GPS location verification & photo selfie check-in for registered staff members.
Section 23: Staff Roster & Leave Availability Lock
Automatically remove appointment availability when staff is on approved leave.
Sync Leave Requests with AI Booking Slots
Lock appointments automatically when doctor is marked on leave.
Section 24: Automated WhatsApp Reminders
Scheduled pre-appointment WhatsApp notifications (24 Hours & 2 Hours prior).
Send 24-Hour Pre-Appointment Reminder
Automated WhatsApp message sent 1 day before appointment.
Send 2-Hour Pre-Appointment Reminder
Automated WhatsApp reminder sent 2 hours before appointment.
Section 25: Automated Lead Capture & Campaign Rules
Auto-convert price inquiries into leads and target audience segmentations.
Auto-Capture Unconfirmed Inquiries as Leads
Save customer details to CRM if chat drops off before final confirmation.
Section 26: Queue & Live Token Counter Rules
Token generation prefix, daily token resets & live position updates.
Section 27: Emergency Hotline & Human Escalation
Urgent hotline routing, after-hours medical escalation and human agent handover.
Section 28: System Security, Audit & Transaction Safety
Idempotency protection, anti-tampering verification and audit log retention.
MySQL Transactional Concurrency Lock
Enforce row-level locking to prevent double booking during high concurrency.
Section 29: Human Mimicry & Presence Simulation
Simulate realistic human typing delays, "typing..." & "recording audio..." WhatsApp presence status.
Enable Human Mimicry Engine
Makes bot responses look like a real person typing/recording audio instead of instant automated replies.
Show "Typing..." Status
Sends composing WhatsApp presence update while generating text.
Show "Recording Audio..." Status
Sends recording presence update when dispatching voice notes.
Dynamic Custom Field Generator
Add non-standard business data attributes to brain.json without editing source files.
Intent Recognition Engine Policy
Configure local-first intent classification parameters, confidence thresholds, and cost-reduction policies.
Skip LLM for Simple Template Replies
Directly reply to greetings, thanks, goodbye, and exact matches without spending Gemini/OpenRouter credits.
Registered Intents & Multilingual Triggers (intents.json)
Manage custom intents, category routing, required entities, and multilingual phrases (Malayalam, Manglish, English, Tamil, Hindi).
Status Intent ID Category Action Handler Multilingual Training Phrases Action
How Live Bookings Reach Clinic Staff
Complete end-to-end data pipeline from WhatsApp chat message to Receptionist/Admin notification.
Intent Match
Customer sends "നാളെ ഡോക്ടർ അരുണിനെ കാണണം" or "I want appointment tomorrow". Engine identifies CREATE_BOOKING or DOCTOR_AVAILABILITY.
Entity Extraction
Bot gathers Doctor Name, Date/Time Slot, Patient Name, and Phone Number automatically.
Token & Confirmation
Bot generates Token # (e.g. #TK-1082), updates state, and sends interactive WhatsApp confirmation receipt to the patient.
Live Webhook Dispatch
Payload is immediately broadcast via SSE Live Stream (/api/webhook/live-stream) & Webhook POST to Clinic Admin Dashboard & Receptionist WhatsApp.
✅ Configuration saved successfully!