Skip to content
Lesson 41

Start with the problem

Five hotel groups ask for an AI assistant. Learn to find the problem behind a request, size it with evidence, and build the cheapest thing that solves it, with a number that says whether it worked.

The lesson in text

Click a paragraph to hear it.

01Five hotel groups want an AI assistant

Tuesday morning. Karim, the CTO, has a request from five of StayHub's biggest hotel groups. They want an AI assistant inside the partner extranet: the website where hotels manage their rooms, prices and payouts.

Partner support is drowning: about 9,000 tickets a month, and hotels wait 31 hours for a first answer. The assistant would take three engineers three months. Karim wants a yes by Friday.

With Claude Code, it's tempting to say yes. You could have a prototype running tonight. But this lesson is about the question that comes before any code: what problem are we solving?

02The patient who asks for a drug

Think of a doctor. A patient walks in and says: I need antibiotics. A good doctor doesn't just write the prescription. She asks about the symptoms, and maybe runs a test.

Sometimes it really is antibiotics. Often it's rest and water. The patient knows exactly where it hurts. They don't always know the cure. Finding out which one it is, that's the doctor's real job, and it's yours too.

Requests at work arrive the same way. "An AI assistant" is a solution. The problem is what hurts the user: here, hotels waiting 31 hours for answers. Find the problem first, and choose the technology last.

The doctor and the request
At the doctorAt StayHubWhat it is
"I need antibiotics""Build an AI assistant"The requested solution
The symptomsHotels wait 31 hours for an answerWhat hurts the user
The test90 days of tickets, sized by count × timeEvidence: what users did
Asking about symptomsInterviews about the last timeWhy it happens
The diagnosisThe extranet shows one payout total, no breakdownThe real problem
Prescription + follow-upBreakdown page (3 weeks) + payout tickets −50% in 8 weeksCheapest solution + metric
Restate the request as a question: hotels wait 31 hours; what are they actually asking us about?

So you restate the request as a question: hotels wait 31 hours; what are they actually asking us about?

03Run the test: the tickets

The test is data you already have. You ask Claude Code to read the last 90 days of tickets and group them by reason. Not by who asked loudest: by what users actually did. That's evidence.

Payout questions come first: 38% of tickets, about 3,420 a month. Questions like: why was I paid less this month? Each one takes an agent about twelve minutes.

Count alone can mislead, so you multiply by handling time. Payouts cost about 684 agent-hours a month. Sync errors with other sites: 1,350 tickets at nine minutes, about 200 hours. How-to questions about rates and photos: more tickets, 1,980, but four minutes each, about 130 hours.

Partner tickets per month, sized by count × handling time (90 days)
Payout questions3,420 × 12 min ≈ 684 h
Sync errors with other sites1,350 × 9 min ≈ 203 h
How-to (rates, photos)1,980 × 4 min ≈ 132 h
The other 25% of tickets are spread over many smaller reasons.
By count alone, how-to questions would beat sync errors. By agent time, payouts cost more than the next two together. Check the top line by hand: 3,420 × 12 min ≈ 684 h.

Payouts cost more than the next two put together. And check that top line by hand: 3,420 tickets times twelve minutes is about 684 hours. If the agent's numbers don't survive that, don't trust the rest.

Notice what the data doesn't say. Nowhere does it say that hotels want AI. It says they don't understand their payouts. That's a symptom, and now you can see it.

04Ask about the last time

Tickets tell you what. Interviews tell you why. You talk to eight hotel owners. You don't ask: would you use an AI assistant? People say yes to be polite.

Instead you ask about the last time: the last time you wrote to us about a payout, what had you done just before? Seven of the eight had rebuilt the month in a spreadsheet, line by line, looking for the difference.

Ask about the last time, not the future
"Would you use an AI assistant?"
Invites a polite yes about the future
"How much would you pay for it?"
A guess about something that doesn't exist
"The last time you wrote to us about a payout, what had you done just before?"
A real event: 7 of 8 had rebuilt the month in a spreadsheet

Now look at the extranet. It shows one total per month. No breakdown: no bookings, no commissions, no cancellations. When the total changes, nothing on the screen says why. That's the diagnosis: the information they need isn't there.

That changes everything. Even a perfect AI assistant can only explain what it can read. The breakdown has to exist first. And once it exists as a page, most owners won't need to ask anyone.

05Name the job, write the brief

Now name the job the owner is trying to get done, without naming a solution: when my payout changes, I want to see why in a minute, so I don't spend an evening in a spreadsheet. That's a job to be done.

Then write a problem brief: one page, before any code. The problem, the evidence, the job, the success metric, and what you won't do. Here: no chatbot, and no change to how payouts are calculated. Just show the lines.

The problem brief: one page, before any code
ProblemPartners wait 31 h; 38% of tickets ask why a payout changed
Evidence3,420 payout tickets a month ≈ 684 agent-hours; 7 of 8 owners rebuilt the month in a spreadsheet
Job to be doneWhen my payout changes, I want to see why in a minute, so I don't spend an evening in a spreadsheet
SolutionLine-by-line payout breakdown in the extranet (≈ 3 weeks)
Success metricPayout tickets −50% within 8 weeks
Non-goalsNo chatbot; no change to how payouts are calculated
If you can't fill a line, you're not ready to build. The non-goals stop the scope from growing back into the original request.

The cheapest thing that does the job: a payout breakdown page, line by line. Three weeks, not three months. And the metric, agreed before building: payout tickets down by half within eight weeks. Nothing is wasted either: if an assistant comes later, this breakdown is exactly the data it would need.

In the doctor's office, that's the prescription with a follow-up visit. If the tickets don't drop, you were wrong, and you'll know it.

06When the evidence is a survey

StayHub has made this mistake before. Last quarter, it built an AI listing optimiser, because a survey said 82% of hotels would use it.

Six weeks after launch, 3% had tried it, and 0.4% used it every week. The survey measured politeness, not need. And the feature still costs money every month: model calls, support, and requests for changes.

Last quarter's AI listing optimiser: promises vs behaviour
said they'd use it (survey)82%
tried it after six weeks3%
use it every week0.4%
Saying yes in a survey costs nothing. Evidence is what people did. And the feature keeps costing: model calls, support, change requests.

Worse, that was the quarter nobody fixed payouts. Every feature you build is also a feature you didn't build. Evidence is what people did, not what they say they'll do.

07Saying "not now"

Thursday afternoon, Karim pushes back. These groups bring 30% of partner revenue, and they asked for an assistant by name. A page will feel like we ignored them.

Maya, the product manager, answers: they asked because support is slow; fewer tickets is what they really want. Both have a point. Karim's plan leaves the payout problem untouched for a quarter. Maya's risks the groups feeling unheard, if the page is simply announced to them.

So you don't just say no. You say not now, with a path. Show the groups their own ticket numbers. Invite two of them to test the page. And promise to look again: once the page is live, re-rank the tickets, and if how-to questions lead, the assistant is next.

Saying "not now", with a path
Show the groups their own ticket numbersthey feel heard, with facts
Invite two of them to test the breakdown pagethey shape the solution
After launch, re-rank the ticketsif how-to questions lead, the assistant is next
A bare no gets overruled. Evidence plus a condition becomes a decision people can accept.

A bare no gets overruled. Evidence plus a condition becomes a decision people can accept.

08Your job as lead

Claude Code will happily build an assistant if you ask. So your first instruction is the opposite: help me size the problem, and don't write product code. Read the tickets, group them by reason, show counts, minutes and sample tickets, then stop. I'll decide.

Then check three things. Does the top line match your own calculation? Do the sample tickets really say what their labels say? And did the agent only read, without building anything?

Watch for red flags: an AI model chosen before the numbers exist, tickets counted without their handling time, or a survey quoted as proof of demand.

And know when to skip all this. A small change that's easy to undo, just build it and watch the numbers. A week of discovery is for the expensive bets, and three engineers for three months is one.

Let's recap. A request is usually a solution. Find the problem behind it, size it with what users did, explain it with stories of the last time, and write one page before any code. Then build the cheapest thing that does the job, with a number that says if it worked. Next: what to cut, and what you'll owe, when you only have three weeks.

Check yourself

0/10 answered
  1. 1Five big hotel groups ask for an AI assistant because support is slow. What do you do before saying yes?

  2. 2In the doctor picture, what is "an AI assistant in the extranet"?

  3. 31,980 how-to tickets take 4 minutes each; 1,350 sync-error tickets take 9 minutes each. Which costs more agent time?

  4. 4Claude Code reports that payout questions cost 684 agent-hours a month. What's the quickest check?

  5. 5Which interview question gives the most reliable answer?

  6. 6Why couldn't even a perfect AI assistant fix the payout tickets?

  7. 7Which one is a job to be done?

  8. 882% of hotels said in a survey they'd use the AI listing optimiser. Six weeks later, 3% had tried it. What's the lesson?

  9. 9Claude Code proposes: build the AI assistant (3 months), then survey owners, then launch. The data says 38% of tickets are payouts and the extranet shows one total. What do you do?

  10. 10Karim: "These groups are 30% of partner revenue and asked for an assistant by name." What's the best answer?

Free account

Save your progress — create a free account

Free. No card. Your finished lessons follow you to any device, and you can ask questions in the community.

Create my free account
Founding members

Every lesson is free while we build. Lock in €9/month for later.

The first 100 members keep the founding price for as long as they stay. Reserving is free: no card, nothing is charged.

See the founding offer

Questions from the community

All questions →