AdminIntegrationsWhatsApp Bot
WhatsApp Bot Integration
Manage bot credentials, linked accounts, transaction monitoring, and security controls.
Bot Active
WhatsApp Bot
Active & Running
WhatsApp Business: +233248073506
Disable Bot
API Provider
Meta Cloud API
Webhook Status
Connected
Webhook URL
https://api.elroipay.com/webhooks/whatsapp
12,847
WhatsApp-Linked Users
34.0% of 37,800 total users
3,241
Active Today
8,934
Transactions Today
267,420 this month
GHS 2,847,320
Volume Today
GHS 85,219,450 this month
127
Failed Transactions
1.2s
Avg Response Time
↓ 0.3s vs last week
3.2%
Human Escalation Rate
↓ 0.4% vs last week
14
Suspicious Alerts
Command Frequency Breakdown
BAL
45,23028.5%
SEND
38,94024.5%
STATEMENT
22,15013.9%
BNPL
18,67011.7%
SCORE
12,3407.8%
SUSU
9,8206.2%
TOPUP
6,5404.1%
POINTS
3,2102%
HELP
2,1001.3%
Total commands processed: 159,000 this month
Failed Commands Log(for UX improvement)
186 total failures| Failed Command | Error Type | Suggested Fix | Occurrences | Last Seen |
|---|---|---|---|---|
SENDD 50 0244123456 | typo | SEND | 47 | 2025-02-10 16:42:15 |
BALLANCE | typo | BALANCE | 34 | 2025-02-10 16:38:22 |
CHECK BALANCE | unrecognized | BAL | 28 | 2025-02-10 16:35:10 |
TRANSFER 100 | unrecognized | SEND | 22 | 2025-02-10 16:30:45 |
MY SCORE | unrecognized | SCORE | 19 | 2025-02-10 16:28:33 |
PAYLATER | typo | BNPL | 15 | 2025-02-10 16:25:18 |
SHOW TRANSACTIONS | unrecognized | STATEMENT | 12 | 2025-02-10 16:22:05 |
ADD MONEY | unrecognized | TOPUP | 9 | 2025-02-10 16:18:50 |
UX Improvement Opportunity: Consider adding natural language processing to auto-correct common typos like "SENDD" → "SEND" and "BALLANCE" → "BALANCE".
Account Linking Architecture
User sends LINK
Bot calls /api/whatsapp/link/initiate
6-digit OTP generated (5 min expiry)
OTP stored in user_whatsapp_links
User confirms OTP
WhatsApp # bound to user_id
Secure Execution Layer
Validate linked account
Validate user session status
Validate balance
Run fraud scoring
Log transaction
Require YES confirmation
Generate transaction hash
Store in audit_logs
