— 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
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