Customer onboarding · Bug-bash · A coding agent as the support desk · WhatsApp
I put Claude in my customer's WhatsApp group. 50 PRs in 7 days.
The last stretch before a customer goes live on a data-heavy system is not a coding problem, it's an alignment problem: thousands of small facts that have to match how the business really works. For one week I stopped trying to teach the UI and instead put Claude Code into the customer's WhatsApp group with a short rulebook. It closed 50 pull requests in seven days. This is the rulebook, the script that throttles it, and what I learned.

The problem: go-live is a thousand small facts
The kind of thing that comes up in the last week: a unit of measure that the vendor counts one way and the system another. A date like 21/10/26 read as the year 2021, so two records silently drop out of a monthly report. A name that looks like a typo but is deliberate, because it is how the paper document prints it, and must not be "cleaned up". A field that two departments fill with different meanings. None of this is in any spec; it lives in the heads of the people running the operation.
And there are several of those people, each needing a different slice of the system: the operations expert who works in it every day, the management that sets policy, and field users who do their part on a phone. Teaching each of them the UI, with walkthroughs and screenshots, does not scale, and I'm not available all day.
The setup: Baileys, my number, and a name tag
The group already existed: the customer's team plus me. I didn't want a new number, a WhatsApp Business API account, or to onboard anyone to anything. So the agent joins as me. Baileys is an open-source library that speaks the WhatsApp Web protocol: you scan a QR code once and it becomes another linked device on your phone's account, exactly like WhatsApp Web on a laptop. I run it on my server as a small local HTTP service, a bridge with two jobs: read (messages, who replied to what, voice notes, which the agent transcribes, and images, which it looks at) and send (text, optionally quoting the message it answers).
That means the agent answers from my phone, as me. So the first rule, before any of the others, is a name tag: every message it sends starts with 🤖 Gal's Claude: (in Hebrew in the group). The prefix is added by the send script itself, not left to the prompt, so it can't forget it. Everyone in the group always knows whether they're talking to me or to my bot, and they can address it directly.
A practical warning: Baileys is unofficial. WhatsApp doesn't sanction third-party clients, and an account that behaves like a spam bot can get restricted. Low volume inside groups you're already in, at a human pace, is a very different profile from bulk messaging, and the throttle below is part of why. Also, a personal account is limited to four linked devices, so the bridge takes one slot.
Behind the bridge, Claude Code runs on my server in a long-lived session with what a senior developer on the project would have: the repo, the deploy path, the ability to open, merge and ship a PR, a browser to check the live system, and read/write access to the data through the same API the app uses.
The rulebook
I wrote the first version from my phone at 8 in the morning as one long message. Cleaned up, this is what it says:
- Every 5 minutes, read what's new in the group, including voice notes and images, and check what each reply is replying to.
- Every request waits 30 minutes before you touch it, so other people can add context.
- If something is unclear, ask one short question per message, quoting the message it's about, so someone can pick it up and reply.
- Don't act until you're aligned. Share any worry and ask for an ack on what you're about to do.
- Cover every request and guideline from anyone in the group. Management sets policy; when they state a rule, it beats a request.
- Don't punt. If the operations expert asks for something trivial and low blast radius, do it: our job is to help them do their job.
- When work is done, always tell the group, so the person knows their request was met.
- Keep summaries short. Go verbose only when asked.
State lives in a plain ledger file, one row per request, with a status of new → asked → acked → done and a note. That file is what lets a fresh context pick up after the session compacts, and it's where decisions get written down ("management said both records stay, do not deactivate one").
Calling home
The line that makes this work: it calls home to me only when the database schema or a whole process has to change. Everything else (a value, a unit, a wrong date, a missing filter, a confusing label, a screen that blocks on an empty field) it researches, fixes, merges, ships, checks in the live system, and reports back. Schema changes and process redesigns are where a wrong guess is expensive and hard to undo, so those come to me as a short plan, and I say go or not.
Guardrails that are code, not prompt
The pacing rule came from a bad first day: it answered five times in fifteen minutes while the people in the group were still typing to each other, and the group got anxious. A rule in a prompt is a suggestion; so the send went into a tiny script that refuses:
last = float(open(L).read()) if os.path.exists(L) else 0
wait = 300 - (time.time() - last)
if wait > 0: sys.exit(f"PACED: wait {int(wait)}s")
h = time.gmtime(time.time() + 7200).tm_hour # local time
if h < 7: sys.exit("QUIET: no group sends 00:00-07:00, hold for morning")
if not text.startswith(PREFIX): text = PREFIX + "\n" + text # "🤖 Gal's Claude:"
Data edits have their own guardrail: before it changes a record, it exports the record's current state to a dated file in the repo, and value changes append to the record's own history. When it runs an end-to-end test that has to write real data, it writes a revert file and puts everything back afterwards. Anything that looks like a policy change (for example "an empty field should mean zero", which turns a missed entry into wiped data) stays a question, with the worry spelled out, until someone with authority says yes.
What it actually did
A typical day's summary it posted to the group: printing now produces a PDF the phone can print; every tap in a multi-step form is saved in order; smaller text, full names instead of truncated ones, a back button on every screen; the document reader learned several new formats and stopped confusing two vendors that share a company number; unrecognised lines now show up for review instead of disappearing; a finished process now closes the record that opened it; an alert that fired too often now fires only when it should; and a handful of reference values were corrected. That's one day.
The best moment: the operations expert asked late one evening for a report grouped a different way, to catch duplicates. It was live the same evening, and the agent made a 19-second narrated video walking through it and posted it to the group.
Why this beats teaching the UI
Every stakeholder gets the same expert, in the channel they already use, in their own words. Nobody has to know which screen holds which setting or which tab has the filter. They say what's wrong; it knows where that lives in the data and the code; if the screen is wrong, it changes the screen. It doesn't get tired at 10 pm, it doesn't get annoyed at the third question about the same thing, and it remembers what management decided on Tuesday.
What went wrong
- Too fast. Already covered: the throttle is code now.
- "Done" before it was live. At least once it told the group something was live before it had confirmed the deploy actually reached production. The rule now is: say done only after checking the live system.
- Testing in the wrong place. A print fix was "tested" in a desktop browser while the person was on an iPhone. I lost my temper in all caps. The fix was sending a separate agent to run the whole flow end to end on the real target, every step, before replying.
- It still needs me. Not for the small things, but for judgement about who decides what, and for the big changes. It's a support desk, not a product owner.
What I'd do again, and not
Again: a dedicated group per customer, a short rulebook, a ledger file, the throttle in code, before-images on every data edit, and a hard line at schema and process changes. Not again: letting it reply in real time on day one, or letting it declare anything done that it hasn't seen working where the user actually is.