Abd Alftah Salem
Hire me
←All case studies

Case study · Production system

ERP-integrated WhatsApp API

A multi-session WhatsApp messaging API wired into the company ERP, so transactional notifications are sent automatically — over 10M messages so far.

01Problem

Notifications that depended on people

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

Engineer of the API and its servers

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

ERP events in, WhatsApp messages out

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.

Message path

Message pathERPbusiness eventsNestJS APINode.js · PostgreSQLBull / RabbitMQdispatch queuesWhatsApp sessions320+ concurrentCustomerson WhatsApp

04Key technical decisions

The choices that shaped it

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.

Many sessions, one API

The API runs many WhatsApp sessions side by side — 320+ at the same time — behind one interface for the ERP.

Containers everywhere

Services are deployed with Docker across the 7 production servers.

05Hard parts solved

What made it more than a script

Keeping sessions healthy

Automated session-health checks watch the WhatsApp sessions, and an internal dashboard monitors every server and service.

Never losing session data

A centralized backup system covers the session data and all databases.

Volume

High-volume dispatch through the queues has carried more than 10 million messages.

06Outcome

Running in production

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.

10M+messages delivered
320+concurrent sessions
300+business clients
7production servers

07Stack & links

Built with

Internal company system — no public demo or source code.

© 2026 Abd Alftah Salem · Back to portfolio