Queues between the ERP and WhatsApp
Bull and RabbitMQ decouple the ERP from sending: the ERP hands off a job and moves on, and dispatch happens through the queues at high volume.
Case study · Production system
A multi-session WhatsApp messaging API wired into the company ERP, so transactional notifications are sent automatically — over 10M messages so far.
01Problem
Business customers of the ERP needed transactional messages — the kind triggered by events in the system — to reach their own customers on WhatsApp automatically and at volume.
02My role
As Senior Full-Stack Developer (remote, part-time) I engineered the API, built its queueing and deployment, and administer the 7 production servers and the PostgreSQL database it runs on. I also built a companion Flutter app for customer analytics.
03How it works
When something happens in the ERP, a notification job is queued. Workers built on Bull and RabbitMQ dispatch the jobs through the WhatsApp sessions, so bursts from the ERP don't have to be sent the instant they arrive. Services run in Docker across 7 production servers, with a dashboard watching every server and service.
04Key technical decisions
Bull and RabbitMQ decouple the ERP from sending: the ERP hands off a job and moves on, and dispatch happens through the queues at high volume.
The API runs many WhatsApp sessions side by side — 320+ at the same time — behind one interface for the ERP.
Services are deployed with Docker across the 7 production servers.
05Hard parts solved
Automated session-health checks watch the WhatsApp sessions, and an internal dashboard monitors every server and service.
A centralized backup system covers the session data and all databases.
High-volume dispatch through the queues has carried more than 10 million messages.
06Outcome
The API serves 300+ business clients of the ERP in production. Alongside it, a companion Flutter app gives customers analytics on sales, income and expenses, with reporting.
07Stack & links
Internal company system — no public demo or source code.
© 2026 Abd Alftah Salem · Back to portfolio