Marketing automation · WhatsApp
WA Blast
WhatsApp promotion dashboard for a bank sales officer: import customers, send Meta-approved templates in paced campaigns, track delivery and reply from one inbox.

Overview
A web dashboard that lets a bank sales officer follow up hundreds of customers on WhatsApp without sending messages one by one. It runs on the official WhatsApp Cloud API: contacts are imported from Excel, personalised marketing templates are submitted to Meta for approval, and campaigns are sent by a background worker that respects Meta's daily limit of new conversations and the configured sending hours, spreading a large blast over several days automatically. Delivery and read receipts come back through webhooks into per-campaign reports, customer replies land in a WhatsApp-style inbox, and opt-outs are honoured automatically. A demo mode with a simulated Meta API lets the client try the whole flow before the business account and server are ready.
Architecture
Dashboard (Contacts & templates, Campaign wizard, Inbox & reports) → HTMX → Go API (Server-rendered HTMX, Webhook receiver) → SQL → PostgreSQL (Contacts & campaigns, Send queue & statuses) → Queue → Worker (Daily limit & send hours, Retries, no double sends) → Graph API · webhooks → Meta (WhatsApp Cloud API, Template review)
Key features
- Contacts imported from Excel or CSV with labels, custom fields for message variables, export and opt-out status
- Template builder with named variables, image headers, an opt-out button and a live phone preview; submitted to and synced with Meta
- Campaign wizard with test send, scheduling, cost estimate and pause, resume or cancel
- Background worker that paces sending to the daily limit and send window, retries temporary errors and never sends twice
- Webhook-driven delivery, read and failure status, with per-campaign reports and Excel export
- WhatsApp-style inbox for replying within the 24-hour window, plus automatic opt-out with confirmation
- Home dashboard with unread replies, spend and number quality, admin login and an audit log
- Demo server that imitates the Graph API, seeds sample data and replies like real customers
- 72 Go tests covering import, templates, campaigns, the worker and webhooks
Tech stack
- Go
- chi
- PostgreSQL
- HTMX
- WhatsApp Cloud API
- Docker
Screenshots
Want the details behind this project?
I'm happy to walk through the architecture, trade-offs and what I'd do differently.