Each week the channel team reviewed paid-search performance for a large route catalog and moved routes between bid portfolios. The catalog grew faster than the hours they had for it. I built a system that makes those recommendations, without a dedicated engineer.
On Mondays a Slack bot posts a portfolio report. On request it builds a route pack: a set of proposed moves for the team to apply. Every applied move is tagged, and after a read window the system gives it a verdict. It helped, it got worse, or there was too little spend to tell. The first read was mixed. Spend came down on the changed portfolios and return held, and a minority got worse and went back for review.
Why no model makes the call
AI wrote much of the code, but the engine itself has no model calls. It is a rule engine over warehouse views.
Each bid recommendation changes ad spend. When the channel team asks why the engine moved a route, the answer has to be the same every time and traceable to the data. Every number in a pack comes from that code, and every line carries a confidence level with the reasons behind it, so the team knows which lines to check first.
Before anyone acted on the engine, I checked it against the channel team’s own baseline across several segments, then calibrated it with them in a joint session.
The bot
I built the bot over a weekend: a spec, a plan, a dozen tasks run through sub-agents with around a hundred tests, then an end-to-end check on a real portfolio split. On launch morning I ran four tuning rounds of my own before the first report went out. It takes plain-language instructions in the thread and stays quiet unless someone addresses it. Packs have gone out every week since.
What broke
A vendor retired an API version, and a data refresh stopped without any error. I caught the gap, migrated, and added freshness checks, so a stalled refresh now raises an alert.
The headline efficiency figure didn’t match the channel sponsor’s own calculation at first. The gap was cost from other ad platforms, which every earlier cost figure had left out.
The pipelines started as scripts on my laptop and now run on a managed scheduler. Getting there meant accepting the data-engineering owner’s design and throwing away a container build I had already finished. Their design fit the platform better.