FA©26

Case study — 2026

NDA · Sales team client

GoHighLevel Pipeline KPI Dashboard

Role
Full-stack · GoHighLevel API
Status
Delivered to the client
In one line
Six sales KPIs from one GHL pipeline, on one screen.

A read-only dashboard over one GoHighLevel sub-account's sales pipeline: six KPIs, revenue trend, stage mix, funnel and recent deals, filtered by pipeline and date range.

01 — The problem

GoHighLevel holds every deal, but getting a weekly answer to "what did we win, what's stuck in proposal, where is revenue heading" meant exporting opportunities and rebuilding the same spreadsheet.

The team wanted those numbers live, without anyone being able to change pipeline data from the reporting screen.

Client work under NDA. The system is described in full; the names stay private.

02 — What I built

  • Pipeline discovery

    Finds the account's pipelines and caches them in MongoDB.

  • Automatic stage roles

    Picks the right pipeline by name and classifies stages as won, lost or proposal.

  • Cached search

    Opportunity search with a 5-minute cache.

  • Tested metric modules

    Separate metric modules per view, most with their own tests.

  • Daily snapshot

    A Vercel cron takes a snapshot every night at 02:00.

03 — How it runs

The flow — Discover pipelines, then Classify stages, then Cached opportunity search, then Metric modules compute KPIs, then Nightly snapshot.
  1. Discover pipelines
  2. Classify stages
  3. Cached opportunity search
  4. Metric modules compute KPIs
  5. Nightly snapshot

04 — Proof

  • Read-only by design
  • Automated tests
  • Nightly cron

05 — Stack

  • Next.js 16
  • React 19
  • MongoDB + Mongoose
  • SWR
  • Recharts
  • Tailwind CSS 4
  • zod
  • Vitest
  • GoHighLevel REST API

Next project

GoHighLevel CRM Reporting Dashboard

Every GHL and Vagaro location in one secure admin dashboard.