Five systems, case study 2 of 5, automation and AI
AI drafts the escalation list. Code checks it before anything is published.
Covering support escalations meant rebuilding the tracker by hand twice a day. I built a sweep to keep the tracker current, with three rules every AI draft must pass, and it replaced the sessions I had been starting myself.
- My roleI set the rules and approved the design. AI agents wrote the code, tests and daily fixes.
- First runOctober 2026
- SettingCustomer support escalations across several consumer brands
The situation
I was covering support escalations across several brands. A list of tickets to escalate arrived twice a day. Each time, the data had to be refreshed, the list read, the tracker rules applied, reply drafts written and the tracker page rebuilt.
I started seven of those sweeps myself in two days, each a separate AI session of 5 to 12 minutes. I wanted it to happen on its own, with a trigger that could not miss a list that landed just after a sweep.
My part, and the agents' part
I supplied the rules. A ticket counts as done only when a person on the team has replied after the customer's last message. A draft may not contain a blank or a placeholder. The system never replies to a customer and never contacts anyone: it prepares drafts and tells me what needs me.
I approved the design. AI agents wrote the code, the tests and the daily fixes under those rulings. The judgment step inside each sweep is itself an AI job, which is exactly why the last word goes to ordinary code.
What I built
Three drafts from the AI step. You are the checker.
-
Draft 1Updates the notes on two open cards and adds one new card at the end.
PassNothing frozen was touched and every card kept its number. Published.
-
Draft 2Removes a closed card and renumbers the ones after it to tidy the list.
RejectCard numbers are permanent, because people refer to a case by its number. Held back.
-
Draft 3Rewrites a paragraph inside a block that is marked frozen.
RejectFrozen blocks may not change. Held back, and sweeps pause until I look.
An illustration of the rules, with made-up drafts. The third rule is that the live page must not have changed while the sweep ran.
The result
- 3 rulesevery AI draft has to pass before it is published
- 46 sweepsin its first week: 37 completed and 9 failed. A failed sweep publishes nothing.
- 7 sessionsstarted by me in two days, before it ran on its own
How this was counted. The sweep counts come from the run summaries it wrote between 20 and 27 October 2026, its first week. The seven earlier sessions come from a project note. After that it moved to an office server, and I am not quoting run counts from there because I have not re-counted them. It is built to run twice each weekday and again shortly after a new list arrives.
Not measured. Hours saved, and how many tickets were answered sooner because of it.
Limits and what is next
It depends on an AI service with usage limits. When it hits one, it retries on a second account and then waits, so a sweep can be late. It cannot publish something unchecked.
One step sorts tickets by the words customers use, and it took several rounds of tests written to fool it before the false alarms dropped. I only widen it now by adding a test for what it must not catch first.
Built with Python, SQLite, a headless Claude job, generated PDFs and a scheduled service on an office server.