Stack: Next.js 14 · TypeScript · Vercel (Edge + Cron) · WhatsApp Cloud API · Claude API (Anthropic) · Google Generative AI (Gemini fallback) · Firebase Admin (Firestore + RTDB + Storage).
Capabilities:
- 41 serverless endpoints covering incoming webhook, sending, templates, stickers, AB tests, cron jobs.
- Multi-stage detection: greeting, appointment confirmation, rescheduling, payments, post-service follow-up.
- Lead scoring + history extraction.
- Admin panel: conversations, quick-replies, gallery, tags, notes, AB experiments.
- Automated reminders, no-show detection, cooldowns.
- Compliance: data deletion + deauthorization endpoints (Meta GDPR).
Shares the appointment calendar (RTDB) with the mobile app and the Instagram assistant.

