Domdhi logoDOMDHI.OS
BACK_TO_COURSE

Build the Report

Define the Words, Then Steer the Build

What Is a Missed Call?

Easy, until you have to count it. Is it missed if:

  • The caller hung up after two seconds?
  • It went to voicemail?
  • It came in at 9 PM, when you're closed?
  • Four phones rang and one was answered?

Each choice gives a different number, and all of them are "right." Take the last one. Many systems write one record per phone that rang. One caller, four phones, one answer: that's three "not answered" records for a caller who got helped. Count records and you report 75% missed. Count callers and it's zero.

So write the definition first, in plain English, and print it on the report:

A missed call is a call from outside, started on a weekday between 8 AM and 5 PM Eastern, where no person answered. Voicemail counts as missed. Unanswered calls that waited under 5 seconds are left out.

(Holidays on a weekday still count here. If you don't want that, put it in the sentence.)

Now when somebody argues, they argue with a sentence, not with you. Change the sentence, rerun, done.

One Screen, One Question

The first version needs four things: the answer in big type, the trend over time, the breakdown that points at a decision (by hour, by department), and a line saying how fresh the data is.

You don't need a fancy app. A table, a scheduled script and one page behind your normal sign-in will do it.

Put AI on It

Feed it one slice at a time, and check each slice before the next:

Slice 1: write only the query. Missed calls by day, using this
definition: [paste]. Show me the SQL and the result for [one day].
Do not build any screen yet.

Slice 2: one page showing that result, plus "Data through [time]"
and the definition in plain text. No other features.

Slice 3: breakdown by hour and by department.
The breakdown must add up to the same total as slice 1.

Ask for the whole dashboard in one go and you'll get one that looks great, with no idea which number is wrong. For more on running AI agents in small, checked steps, see Domdhi.Agents.

QUIZ

One caller rings four phones and one person answers. Your system writes four records. Counted by caller, how many were missed?

Sign in to track lesson progress and earn a certificate.SIGN IN TO SAVE PROGRESS