1. It Worked. So Why Did We Turn It Off?
One of the best decisions my team made was to switch off something that worked, and worked well. Our AI chatbot on WhatsApp resolved 93% of conversations in the branch where it started, against 25% before. It cut the support queue by a quarter in one week. By every engineering and customer-service measure, it was a success.
Then the bill arrived. Three months in, our Google Cloud bill was ten times what it had been before the AI started. The system was succeeding; the product, at that cost, was not.
That gap, between a system that works and a product that pays off, is what this post is about. Engineers are trained to close the first one. Managers and architects are paid to close the second.
2. System Success and Product Success Are Different Questions
Most delivery reviews ask system questions. Did we ship on time? Is it up? Are there bugs? Those questions matter, but they all have the same blind spot: none of them asks whether anyone should have built the thing.
| System success | Product success | |
|---|---|---|
| The question | Does it work? | Is it worth it? |
| Typical measures | Uptime, latency, error rate, test coverage, delivery date | Adoption, problems solved, revenue or savings, cost per outcome |
| Who owns it | The engineering team | Engineering, product and business together |
| When you know | At release | Weeks or months after release |
| How it fails | Loudly: incidents, outages, war-rooms | Quietly: a bill that grows while nothing else does |
The last row is the dangerous one. A broken system gets fixed because everyone can see it. A product that works but doesn't pay off can run for years, because nothing ever alerts.
3. Without OKRs and KPIs, "Done" Means Nothing
If the only definition of done is "it's in production", every delivery is a success. That's why the success of a product delivery has to be defined by a number, agreed before the work starts. OKRs and KPIs are how you write that number down.
- The OKR says why we're building it. The objective names the change we want in the business, and the key results say how we'll know it happened. They are set before the first sprint, not after the launch.
- The KPIs say whether it's still working. Once the product is live, KPIs are the numbers we watch every week: they tell us whether the result holds, and what it costs to keep it.
For anything that runs on usage-based infrastructure, and AI is the clearest example, I insist on one rule: every key result about benefit needs a KPI about cost next to it. A resolution rate without a cost per resolution is half a measurement.
Objective: customers solve their problem without waiting for a human.
KR 1: share of conversations resolved without a human handoff, compared with the
current solution.
KR 2: customer satisfaction on resolved conversations stays at or above today's
level.
KR 3: cost per resolved conversation is below the cost of the alternative (a
conventional bot or a human agent).
KR 3 is the one teams leave out, and it's the one that decides whether the product can grow. Notice also that KR 1 is compared with the current solution. A resolution rate on its own says nothing: 93% is impressive against 25%, and much less so against 90%.
4. Lesson Learned — The AI Chatbot on WhatsApp
X Turned an AI copilot for support operators into a WhatsApp chatbot that solved customers' problems on its own — Y raising resolution in its first branch from 25% to 93%, then cutting the queue 25% in one week while serving 200% more customers — Z by rolling it out one branch of the conversation tree at a time and letting the AI look up customer data and send self-service tutorials with deep links into the app.
The Architecture
Customers wrote to us on WhatsApp. Conversations were routed through Salesforce, our customer-service platform, which called Gemini models through Google AI Studio and Vertex AI on Google Cloud. The AI could query our database, so its answers were about the customer's actual account, not generic FAQ text.
From Copilot to Chatbot
It didn't start as a chatbot. The first version was a copilot for our support operators: it read the conversation and suggested answers, and a human decided what to send. It got good quickly, and it soon became clear it could answer customers directly.
That step was the hard part. Letting the model talk to customers meant building guardrails: what it may answer, what it must never say, when it has to hand over to a human, which data it may use. Guardrails turned out to be much harder than the AI itself. We spent a lot of time and work tuning them so the bot aimed at the right thing, and not just at a plausible answer.
Rolling Out One Branch at a Time
Our chatbot already worked as a decision tree: each choice the customer makes leads to a branch. We didn't switch the AI on everywhere. In the first month, we put it in a single branch, "my password is blocked", for only a small share of customers.
There, the AI looked up the customer's situation in our database and replied with a step-by-step tutorial, with deep links straight to the right screens in the app, so customers could fix the problem themselves. In that branch, resolution went from 25% to 93%. And in that first month, the cost was fine.
So we expanded. Each new branch sat closer to the root of the tree, where more conversations pass. The results kept coming: in one week, the queue for human agents dropped 25%, and the number of customers we served grew 200%.
The Bill
Moving toward the root of the tree had a side effect we felt only later. Every step put more conversations through the model, and each of those conversations meant more Gemini calls on Google Cloud. Benefit grew with every branch. So did cost, and cost grew faster.
By the third month, our Google Cloud bill was 10 times what it had been in month zero, before the AI system started. Nothing was broken. The product simply cost more than it was worth at that scale, so we turned the WhatsApp chatbot off.
What I Take From It
- A rollout needs a cost gate, not only a benefit gate. Before moving the AI one branch closer to the root, check the cost per resolved conversation as well as the resolution rate.
- Small pilots prove benefit, not cost. Estimate the cost at full volume before expanding, not after the invoice.
- Guardrails are part of the cost. They took a large share of the team's time and work, and that effort belongs in the business case too.
- Turning it off is a valid result. The project proved what AI can do for our customers. Knowing what it costs to do it is just as valuable.
5. Control the Cost Before You Scale, Not After
We saw the WhatsApp bill after three months and acted on it. The same mistake at a larger scale, or noticed later, costs far more.
Traditional software has mostly fixed costs: you pay to build it, and serving one more customer costs almost nothing. AI products don't work like that. Tokens, per-message fees, API calls and inference infrastructure all grow with usage. That changes the arithmetic of growth:
Value per conversation − cost per conversation = margin per conversation
Growth multiplies the margin. If the margin is positive, scale makes you money. If it's negative,
scale multiplies the loss.
That's why the cost has to be under control before the product scales. Once a product with a negative margin per conversation is in front of a million customers, there are no good options left: you either keep paying, or you take something away from customers who already depend on it.
In practice, controlling cost before scaling means:
- Know your unit cost. Cost per conversation, per transaction, per active user. Whichever unit the product is sold or used by, the cost needs to be in that same unit.
- Compare with the cheapest option that works. A conventional bot, a static FAQ, a form, a human. AI has to beat the alternative, not zero.
- Put the cost on a dashboard next to the benefit. If engineering watches the resolution rate and finance watches the bill, nobody sees the margin.
- Decide the shutdown rule in advance. "If cost per resolution stays above X for two months, we turn it off." It's much easier to agree on that before anyone is attached to the feature.
6. The Same Rule Applied to Build vs. Buy
Cost control works in the other direction too: sometimes the right product decision is to stop paying for something.
We used a paid back-office tool (Retool) and paid for a third-party system to make PIX transfers between our internal accounts. In both cases, we already owned the APIs underneath. The paid tools were mostly an interface on top of endpoints we had built ourselves. With AI-assisted development, building that interface in-house became cheap. We replaced both and saved about USD 2,000 a month.
It's the chatbot lesson again, from the other side. The question was never "does the paid tool work?" It did. The question was whether it was worth what it cost, compared with the cheaper option we now had.
7. A Checklist Before Scaling Any Product
- Is the OKR written down? An objective and key results, agreed with the business before development started.
- Is benefit measured against the alternative? Not "93% resolved", but "93% resolved against 25% for what we had before".
- Is there a cost KPI next to every benefit KPI? And is it in the same unit: per conversation, per transaction, per user?
- Is it measured per segment? Per channel, per customer type, per region. Averages hide the losing segment.
- Is the margin positive at today's volume? If not, growth makes it worse.
- Is there an agreed shutdown rule? Written down before anyone is attached to the feature.
8. Conclusion
Engineering teams are very good at answering "does it work?". It's the question we're trained for, and our tools are built around it. But a delivery that works and doesn't pay off is still a bad delivery. It just fails more quietly.
The AI chatbot taught my team that the most useful number isn't the resolution rate, the uptime or the cycle time. It's the benefit over the alternative, divided by the cost. When that number is good, scale. When it isn't, fix it or switch it off, and do it before the product is big enough to make the decision painful.
Optimize the System Before You Add AI to It
The most valuable thing we did with AI came after we turned the chatbot off. Instead of putting AI in front of customers, we used it to analyze the results of the AI flow against the human flow: where customers got stuck, where they gave up, and which answers actually solved their problem. That showed us where our existing system needed to improve.
Then we optimized the system itself. We didn't reach the 90%-plus resolution of the AI chatbot, but we reached 70% resolution with an acceptable level of abandonment in the flow, without paying for a model in every conversation.
Define success with a number before you build. Put the cost next to it. Then go back and check both.