Artag.dev
FeaturedLast updated: 2026-10-29

WhatsApp Operations Platform

A real-time customer-service platform for companies in Colombia's Coffee Region, built to prevent lost conversations, coordinate agents and handle Meta rate limits.

Role: Solution Architect and Lead Developer — sole developer

1,000+
messages per day
5
concurrent agents per company
5–15 min
reported response time
Node.jsTypeScriptReactMySQLWebSocketsRedisWhatsApp Business APIDockerPM2
Private repositoryTalk about this project

Problem

Two companies were losing WhatsApp conversations, responding after more than 24 hours and assigning the same chat to multiple agents. Existing workflows also handled Meta rate limits poorly.

Solution

I built a Node.js and TypeScript bridge between Meta webhooks and a React agent dashboard. Redis became the coordination layer for atomic chat assignment, MySQL persisted conversations and queued retries handled rate limits without blocking real-time responses.

Results

  • More than 1,000 messages processed daily.
  • Five concurrent agents per company with conflict-free assignment.
  • Reported response times reduced from more than 24 hours to approximately 5–15 minutes.

Architecture

  1. 01Meta webhook → Node.js ingestion
  2. 02MySQL → durable conversation history
  3. 03Redis → atomic assignment and recent-state coordination
  4. 04WebSockets → real-time agent dashboard updates
  5. 05Priority queues → provider-aware retries and backoff

Key decisions

Redis as coordination state

Atomic operations prevent two agents from taking the same conversation.

Real-time dashboard

WebSockets keep assignment and message state visible to every agent.

Provider-aware queues

Retries and backoff handle rate limits without discarding outbound messages.

Challenges

  • Preventing duplicate assignment under concurrent agent actions.
  • Handling message bursts and provider rate limits.
  • Balancing durable persistence with responsive real-time updates.

Key learnings

  • Redis can coordinate real-time ownership, not only cache reads.
  • Atomic assignment is essential when several agents act on the same incoming event.
  • Agent context and operational UX are as important as message delivery.

Limitations & roadmap

  • The production dashboard and source code are private.
  • Results are reported project metrics, not a independently audited public benchmark.

Next project

Artag Dev — Personal Portfolio

Bilingual Next.js portfolio with data-driven AI case studies