WhatsApp AI workspace

ReachAI

Sales and billing over WhatsApp in one workspace: a unified inbox where AI drafts replies from the company knowledge base, a CRM pipeline, proposals, invoices and manual-transfer payment verification.

ReachAI dashboard with unified inbox, AI replies and billing

The problem

Conversations, deals and invoices live in different places, and every reply is written from scratch. Teams lose track of who said what and who still owes what.

What it does

  • A shared inbox with contacts, deals, tickets and a public chat widget, per business workspace.
  • AI drafts a reply and also classifies the conversation: intent, priority, sales stage and follow-up date.
  • Each workspace sets its own persona, business hours, escalation keywords and confidence threshold.
  • A knowledge base from the company’s own documents, searched by meaning and by text.
  • Proposals and invoices with PDFs, bank accounts, payment-proof upload, Midtrans payment links and DOKU webhooks.
  • Background jobs for follow-ups, invoice reminders, ticket SLAs and webhook delivery.

How it is built

  • Monorepo with a Node.js API, a background worker and a Next.js web app.
  • PostgreSQL with pgvector for knowledge search, Drizzle migrations, Redis queues.
  • WhatsApp through a gateway and through Meta’s provider, with webhook signature checks; stored credentials encrypted with AES-256-GCM.
  • Docker Compose, PM2, and a GitHub Actions workflow that deploys through a self-hosted runner.

How AI is used

  • An OpenAI-compatible chat endpoint, with provider and model set by environment, drafts replies and classifies messages.
  • Retrieval-augmented answers: passages from the workspace’s own knowledge base are found by vector search and given to the model.

Honest notes

  • Tenant isolation has been checked only by the project’s own audit.
  • The README still describes an early planning stage.

Engineering depth

Counts taken from the repository itself, not performance claims.

141
API route handlers
31
database tables
39
migrations
50
test files