— WhatsApp Integration

WhatsApp Complaint Bot

Citizens can file complaints, send photos, record voice notes, and track status — all through WhatsApp. No app download needed.

Live Bot Demo

जनशक्ति.AI Bot
Online
hi
10:30
️ जनशक्ति.AI — Citizen Governance Bot नमस्ते! I can help you: 1️⃣ File a Complaint — Type complaint 2️⃣ Check Status — Type status 3️⃣ Send Photo — Attach a photo 4️⃣ Voice Complaint — Send a voice note Type help anytime to see this menu.
10:31
Try Live Bot Logic

Capabilities

Text Complaints

Guided step-by-step flow: Category → Ward → Description. AI auto-classifies and scores priority.

Photo Detection

Send a photo of a pothole, garbage dump, or broken pipe. YOLOv8 AI auto-detects and files complaint.

Voice Complaints

Record a voice note in Hindi, Bhojpuri, Tamil, or 12+ languages. Whisper AI transcribes and classifies.

Status Tracking

Type "status" + ticket ID anytime to get live updates. See priority, assignment, and resolution.

Proactive Notifications

Automatic WhatsApp alerts when your complaint status changes — assigned, in progress, resolved.

Multi-Language Support

Works in Hindi, English, Bhojpuri, Marathi, Bengali, Tamil, Telugu, and 5+ more Indian languages.

️ Setup Options

  • Twilio — Quick setup with sandbox (free trial)
  • Meta Business API — Official WhatsApp integration
  • Test Endpoint — Try bot logic at /api/whatsapp/test?message=hello

️ Architecture

Citizen → WhatsApp → Twilio/Meta Webhook
→ FastAPI /api/whatsapp/webhook
→ WhatsApp Bot Service (state machine)
→ NLP + Priority + Sentiment AI
→ SQLite Database
→ Response → Twilio/Meta → WhatsApp → Citizen

WhatsApp Bot Assistant
|