Case study · WhatsApp

Hipertoldos: WhatsApp organised by departments with configurable routing

Estructuramos WhatsApp por departamentos con routing configurable, asignación automática y notificaciones en tiempo real.

Context / Need

  • Necesitaban separar conversaciones entre Atención al Cliente, Ventas y Marketing.
  • Querían derivación automática a equipos y notificación inmediata en todos los dispositivos.
  • Cuando el routing no era claro, el flujo debía preguntar al cliente con lógica configurable.

Solution implemented

  • Modelo multi-tenant con equipos por empresa y límites configurables.
  • Asignación manual y automática con notificaciones individuales y actualización realtime en la UI.
  • Notificaciones persistentes en base de datos y eventos SSE en tiempo real, sin polling.
  • Routing configurable por flows con trigger ROUTING_REQUIRED y estado routing_pending.
  • Motor de flows con trigger, condición, acción, asignación y cierre configurable.
  • Robustez en producción con idempotencia de webhooks y control de conversaciones cerradas con mensajes nuevos.

Technical details

  • Multi-tenant architecture with teams per company (name, slug, active/inactive status), configurable limits and users across multiple teams.
  • Manual and automatic conversation assignment, individual notifications and real-time events with UI updates across all devices.
  • Persistent database notifications and real-time SSE events, without polling.
  • Routing without hard-coding: ROUTING_REQUIRED trigger, routing_pending status and configurable flow triggering.
  • Flow engine with trigger, condition, action, assignment and closure.
  • Operational robustness with webhook idempotence, management of closed conversations with new messages, consistent re-assignments and routing statuses.

Integrations

  • WhatsApp
  • Multi-tenant
  • Equipos por departamento
  • Flows configurables
  • SSE realtime
  • Webhooks idempotentes

Result

WhatsApp was organised by department, with automatic allocation, instant notifications and reusable configuration as a SaaS solution via flows.

Does your WhatsApp also need to be organised by team?

We design configurable routing and workflows for real-world business operations.