Data and metricsApplied AIOperations

Customer experience dashboard

One dashboard for the team to see how much the AI resolves on its own, who is waiting for a reply right now, how long each step takes and where customers are unhappy. Every number opens the list of tickets behind it.

Built for a construction software company

From guesswork to a number everyone can check

Problem

No one shared the same view of the numbers

With AI handling the first contact, new questions came up that the chat tool could not answer: how much it resolves on its own, which topics always end up with a person, who has been waiting for hours and whether the customer left satisfied. Every answer meant exporting data into a spreadsheet.

What I did

Seven areas, one way to calculate

I defined the metrics and calculation rules and built the dashboard: overview, AI retention, volume, satisfaction, team, real-time queue and a page that explains every rule. All calculations live in the database; the page only draws.

Result

The same number everywhere

With the same filter, the card, the chart, the ticket list and the summary the team sees in its assistant all give the same result. The real-time queue flags anyone waiting more than 10 business hours.

Try the dashboard

A replica with the same logic as the production dashboard, running on about two thousand made-up tickets. The demo interface is in Portuguese, as in the original. Change the period, filter by area, team or CSM, click a number or a column to see the tickets behind it, and open a ticket to see the conversation.

metrics dashboard · demo
Open the demo full screen

Made-up data. No real customer information is used in this demo.

What each area answers

Overview

Tickets, AI retention, current queue, satisfaction and response times for the period, compared with the previous one.

ClaudIA (AI)

How much the AI resolves on its own, how that changes over time and which topics most often go to a person.

Volume

Rankings by customer, construction site, CSM, topic, product, channel or assignee.

Satisfaction

Average score, positive and negative ratings, score by who handled the ticket and customer comments.

Team

Tickets, first response and resolution time per team member, in business hours.

Real time

Who is waiting for a first human reply, in which inbox and for how long.

Decisions that make the number trustworthy

  • Retention with a clear rule

    The AI either resolved it alone (N1) or handed it to a person (N2). Retention is N1 divided by N1 + N2, with no manual interpretation.

  • Business hours, not clock hours

    Waiting and human response time count Monday to Friday, 8 a.m. to 6 p.m., excluding holidays. A message sent on Friday night does not count against the team over the weekend.

  • Median instead of average

    A few very long conversations do not distort the typical response and resolution time.

Technologies used

Supabase (Postgres)
SQL functions calculate every metric; the dashboard only queries them.
Vanilla JavaScript
A lightweight page with hand-drawn SVG charts.
CloudChat
Source of the conversations, copied to the database every few minutes.
Claude
Help with development and with writing the calculation rules.

Want to see the other projects?

This is one of the data and applied AI projects I did at the company. The portfolio has the rest.