Case study
Agency performance & profitability SaaS
Multi-tenant SaaS that turns ad spend, CRM activity, and bookings into agency KPIs — daily logs, cohort economics, sales gamification, Stripe billing, and Meta/GHL webhooks.

Product overview — full frame
01 — Challenge
02 — Goals
03 — Signals
Measured strengths across delivery, innovation, and operational maturity.
Full funnel
KPI coverage
Owner hierarchy
Multi-tenancy
Ads+CRM+AI
Integrations
Stripe SaaS
Billing maturity
04 — System design
React SPA + Express API + PostgreSQL (Drizzle), with cron jobs and third-party webhooks for ads/CRM sync.
05 — Stack
Production tools powering this product — icons for quick recognition.
06 — Capabilities
TanStack Query dashboards + Recharts
Daily logs and cohort reports
Sales reps, points, quarterly champions
Stripe checkout and plan management
Webhook logs for GHL/Meta/Zapier
07 — Deep dive
| Domain | Tables / features |
|---|---|
| Metrics | daily_logs, mrr_snapshots |
| Sales | reps, activities, champions |
| Gamification | points + monthly ROAS scores |
| Billing | Stripe fields on users |
| Integrations | webhook_logs + settings IDs |
08 — Outcomes
Agencies see spend-to-revenue clearly
Cohort economics beat vanity metrics
Webhook + Stripe model supports agency growth
Closing note
Production MarTech SaaS that turns advertising and CRM activity into actionable agency profitability KPIs.