Technical overview

RecoupFlow uses a single Cloudflare Worker as the hosted site and API, D1 for operational data, KV for short-lived OAuth state, and Cloudflare Queues for asynchronous sends.

Cloudflare Worker

Marketing site, dashboard, API routes, OAuth callback, webhook handlers, and signed session handling.

D1

Accounts, WhatsApp connections, recoveries, messages, leads, and event log.

Queue consumer

Dispatches WhatsApp sends outside the request path and retries on transient failures.