← All work Founder · Brazil · 2026, in progress

WhatsApp AI agents

In Brazil, small businesses sell and book on WhatsApp. I co-founded a small business building AI agents for them. My partner sells; I build the agents. It's early, and this page is honest about that.

RoleTechnical co-founder
PilotsA boxing coach, a law firm
StackMeta Cloud API, n8n, Claude, Google APIs
StatusPilot stage
Maps to the role
Technical founderAI observabilityTalking to usersEvalsPackaging

Picking the niche

We considered aesthetic clinics, small hotels and guesthouses, and sports schools. Clinics won on ticket size and repetitive intake. Before selling to anyone, we built the agent for my partner's own coaching business, so the first user was someone who'd tell us the truth.

What I built

Webhook in, agent out

WhatsApp Cloud API → n8n webhook → agent node on a Claude model, with memory keyed by phone number.

Knowledge base the client edits

A Google Doc read at the start of each run. The owner edits the doc; the agent answers with the new version, no deploy.

Tools with narrow scopes

Check free slots and create an event on a dedicated calendar, so the agent never sees personal appointments.

Handoff and logging

A "call a human" tool sends a summary and marks the contact paused; every run checks the pause flag first. Every conversation is logged for review.

One template with a per-client config layer, instead of custom builds. That's a packaging decision as much as an engineering one: it's what makes the price work.

Testing like an engineer

Before connecting a real number, I write 15–20 scripted conversations and run them all: the ideal customer, price-only questions, out-of-area requests, an injury question, a minor asking to book, a discount request, an audio message, a rude user. Each bad answer becomes a prompt or knowledge-base change, and the whole script reruns.

For the law-firm pilot I cut discovery to eight questions: case filters, required intake fields, the most common inquiries (with exported real conversations), pricing, forbidden behaviors, handoff triggers, where lead data goes, and tone.

Where observability comes in

Running an agent in production is mostly debugging: why did it hand off here, why did it invent a slot, which run failed. Today I read n8n execution logs and a conversation sheet. It works for two pilots and won't for twenty. The next step is proper LLM tracing (inputs, outputs, tool calls, latency and cost per conversation) tied to the outcome: booked, handed off, or abandoned.

Why this matters for APMThis is the persona PostHog's tracing is finding traction with: builders debugging multi-step agent workflows. I'm one of them.

What I got wrong

RetroMy first design tried to confirm bookings in real time for every niche. Guesthouses need availability checks we couldn't do safely. V1 is now deliberately conservative: no clinical guidance, no real-time confirmation where the source of truth isn't ours.