| # | Order | Customer | Phone | Type | Tracking | Queued At | ETA |
|---|---|---|---|---|---|---|---|
| 1 | #10250 | João Pereira | +5521976543210 | Shipment | SS445566778BR | 14:55 | ~30s |
| 2 | #10249 | Ana Costa | +5531912345678 | Confirmation | — | 14:55 | ~45s |
| 3 | #10248 | Carlos Lima | +5541998765432 | Shipment | JD112233445BR | 14:55 | ~1m 20s |
| 4–12 | 9 more messages queued (Confirmation ×4, Shipment ×3, Delivery ×2) | ~5–8 min | |||||
This dashboard is a secondary view accessible from the admin Configure page. It provides real-time monitoring of message dispatch and delivery status.
WhatsAppMessageLog grouped by Status. Refresh via AJAX every 30 seconds.GROUP BY MessageTypeWhatsAppMessageLog entries for that OrderIdWhatsAppMessageId) links to the webhook delivery statusWhatsAppScheduleTaskWhatsAppMessageLog ordered by SentAt DESCGET /Admin/WhatsAppBusiness/Dashboard — this pageGET /Admin/WhatsAppBusiness/OrderMessages?orderId={id} — order-specific timeline (JSON for AJAX)GET /Admin/WhatsAppBusiness/QueueStatus — current queue state (JSON for polling)GET /Admin/WhatsAppBusiness/Stats?from={date}&to={date} — aggregated stats for chartsPOST /Admin/WhatsAppBusiness/ProcessQueueNow — trigger immediate dispatchadmin_order_details_buttons to inject a "View WhatsApp Messages" button.POST /api/whatsapp/webhook receives status updates from Meta and updates WhatsAppMessageLog.Status and WhatsAppMessageLog.WhatsAppMessageId.ShipmentSentEvent and ShipmentDeliveredEvent consumers queue messages immediately (in addition to the polling fallback).