AI-powered customer retention dashboard. Identifies churn risk, generates win-back outreach, and delivers daily audio briefings.
Next.js 16 | SQLite (better-sqlite3) | Claude API | ElevenLabs TTS | Perplexity (pricing)
Requires Node.js v18+.
-
Install dependencies:
npm install -
Create
.envin the project root:ANTHROPIC_API_KEY=your_key_here PERPLEXITY_API_KEY=your_key_here ELEVENLABS_API_KEY=your_key_here -
Seed the database:
npm run seed -
Start the dev server:
npm run dev
Open http://localhost:3000.
- Dashboard — customer risk heatmap, revenue-at-risk stats, filter by churn segment
- Audio Briefing — AI-generated spoken summary of business state (Claude + ElevenLabs)
- Outreach — per-customer email drafts, phone scripts, and special offers via multi-agent orchestration
- Pricing — live competitor price comparison via Perplexity API
- Business Profile — configurable business info stored in SQLite
- Retention View — track contacted, responded, and won-back customers
This is an easter egg