This is a comprehensive multi-language WhatsApp customer support chatbot specifically designed for local businesses in Nigeria. The bot provides automated customer service with intelligent language detection and business-specific conversation flows.
# WhatsApp Customer Support Chatbot 🤖
A comprehensive multi-language WhatsApp customer support chatbot designed for local businesses in Nigeria. Supports English, Pidgin, Yoruba, Hausa, and Igbo languages with automated customer service for e-commerce, banking, telecom, and SME businesses.
## 🌟 Features
- **Multi-language Support**: Automatic language detection and responses in 5 Nigerian languages
- **Business-specific Flows**: Customized conversation flows for different business types
- **Real-time WhatsApp Integration**: Direct integration with WhatsApp using whatsapp-web.js
- **Smart Language Detection**: Automatically detects user's preferred language
- **Session Management**: Maintains conversation context across interactions
- **API Endpoints**: RESTful APIs for monitoring and external integrations
- **Business Hours Support**: Automatic business hours checking
- **Input Validation**: Robust validation for Nigerian phone numbers, emails, and order numbers
- **Rate Limiting**: Built-in protection against spam and abuse
- **Web Dashboard**: Monitor bot status and configuration
## 🏢 Supported Business Types
### E-commerce
- Order tracking and status updates
- Payment assistance and issue resolution
- Return policy information
- Product inquiries
### Banking
- Account balance inquiries
- Money transfer services
- Bill payment assistance
- Transaction support
### Telecom
- Data plan information
- Airtime purchase assistance
- Network issue troubleshooting
- Service activation
### SME (Small & Medium Enterprises)
- General customer inquiries
- Complaint handling
- Feedback collection
- Support ticket creation
## 🌍 Language Support
| Language | Code | Sample Greeting |
|----------|------|-----------------|
| English | `en` | "Welcome to our business!" |
| Pidgin | `pidgin` | "Welcome to our business! How I fit help you?" |
| Yoruba | `yoruba` | "Kaabo si ile ise wa!" |
| Hausa | `hausa` | "Barka da zuwa kasuwancinmu!" |
| Igbo | `igbo` | "Nnọọ na azụmahịa …