Nexus
Platform
Ticketing platform with WhatsApp sales, integrated payments, and resilient event check-in operations.
TL;DR — 1 minute
Sales and check-in depended on fragmented channels and stable internet at the gate during a critical operation.
WhatsApp flow + multi-tenant backend + offline-first check-in with a local queue and batch sync.
The gate operates without internet with safe sync and fewer incidents on event day.
Snapshot
Problem & Impact
- Symptom The gate freezes without connectivity, and operations lose fluency exactly when pressure is highest.
- Cause Lack of an offline-first mechanism with queue and controlled retry for the critical operation.
- Impact High operational risk, reprocessing inconsistencies, and increased support on event day.
Approach
WhatsApp Cloud API with multi-tenant orchestration to reduce purchase steps and preserve context per organization.
Mercado Pago with admin routes for operations, reconciliation, and support without spreading critical rules across the front end.
IndexedDB + batch sync to reduce reconnect spikes and keep the gate usable even without internet.
Reliability
Duplicate retries, reconnect spikes, and operational inconsistency across devices.
Idempotency through externalId and a local queue with controlled retry and batch synchronization.
A real snippet of the queue/sync mechanism used in offline operations.
await db.add('syncQueue', { url, method, body, timestamp: Date.now(), retryCount: 0 }); await fetch(syncUrl, { method: 'POST', body: JSON.stringify({ orders }) });
Extensions & Next steps
- Queue observability: pending items, average age, and synchronization rate.
- Consolidated operational reports for check-in, POS, and reconciliation.
- WhatsApp → payment → issuance funnel metrics to identify bottlenecks.
Need low-friction sales and field operations that do not depend on internet?
I design offline-first flows with idempotency, batch sync, and audit trails.