Case Study — AI Agent Development

Turning WhatsApp from a support
backlog into a sales channel.

Client: Thornby & Finch (name changed) Industry: E-commerce / DTC retail Timeline: ~6 weeks Related: AI Agent Development

Customers were already on WhatsApp. The team just couldn't keep up.

Thornby & Finch's customers didn't email or call — they messaged the brand's WhatsApp Business number, the same way they'd message a friend. "Where's my order," "does this come in a bigger size," "is this back in stock" — a mix of support questions and pre-purchase sales questions, all landing in the same shared inbox.

During business hours, a small team answered manually. Outside those hours — evenings, weekends, and almost everything from customers in other time zones — messages just queued up. Support questions sat unanswered for hours. Sales questions were worse: a shopper asking "will this fit a king bed" at 9pm got an answer the next morning, by which point many had already bought from someone else or lost interest entirely.

What it was built on.

The setup as we found it:

WhatsApp Business number, manually staffed Shared inbox tool, no automation Order and inventory data in a separate backend, not connected to chat No triage between quick-answer and judgment-call messages No coverage outside business hours

Two data sources fed the agent directly: the live product catalog (for sizing, material, and availability) and the order-management system (for status lookups by order number or phone number). Nothing was answered from memory — only from a live lookup.

From message to resolved, or to a human.

WhatsApp Business API
→
Intent routing
→
Catalog & order lookup
→
Grounded response
→
Human handoff (if needed)

Let the agent answer what it can verify. Hand off the rest with full context.

The goal wasn't to automate the whole inbox — it was to stop routine questions from competing with the ones that actually needed a person:

  • Grounded product and order answers — the agent answers sizing, material, and availability questions from the live product catalog, and order-status questions by looking up the actual order, instead of generating anything from memory. If it can't verify an answer, it says so rather than guessing.
  • Sales questions answered in the moment they're asked — pre-purchase questions that previously waited until the next business day now get answered within the same conversation, while the customer is still deciding.
  • Escalation with context, not a cold handoff — refunds, complaints, and anything ambiguous get routed to a human agent along with the full conversation and order history already attached, so the customer doesn't repeat themselves.
  • Built on the client's existing WhatsApp Business number — no new app, no new channel for customers to learn; the AI agent sits behind the same number and inbox the team already used.

Graded against real conversation logs, before launch.

Before going live, we scored the agent against a set built from the client's actual historical WhatsApp conversations — real product and order questions, with the correct answer known. Two thresholds had to clear before launch: answer accuracy on verifiable questions (product/order lookups), and correct escalation on anything ambiguous, refund-related, or outside the agent's scope. Anything below threshold stayed in the "needs review" bucket rather than shipping.

The backlog stopped building up overnight.

Figures are generalized industry ranges for this category of deployment, not exact client metrics, per our NDA. Measured across the first full month in production.

Before
Messages outside business hours queued for hours; sales questions often answered too late to matter
After
Most routine order-status, product, and sizing questions resolved immediately, any time of day
Ongoing
Support team now focused on escalations and judgment calls, not repetitive lookups

What stayed access-controlled.

The agent's write access was limited to reading order and catalog data — it cannot issue refunds, change order details, or modify inventory. Conversation transcripts are retained on a defined schedule, and customer identifiers are only matched against order records the customer themselves provided (order number or registered phone number). See our Trust & Safety page for the broader data-handling commitments this followed.

Source code, prompts, and the eval set.

At completion: the agent's source code and configuration, the evaluation set used to grade it, and documentation covering the escalation rules and catalog/order integration so the client's team could extend it without us.

What this pattern doesn't solve.

This approach works because the two highest-volume question types — order status and product questions — have a verifiable source of truth to ground against. It would not have worked as well for open-ended style or fit advice with no catalog data behind it; we scoped that out rather than let the agent guess. The lesson generalizes: an agent is only as reliable as the data source behind the specific question it's answering.

If this looks familiar.

This is the same pattern we cover in why AI customer support agents get escalated back to humans, the kind of deployment our AI agent development and AI chatbot development work is built to get right, and relevant to our e-commerce industry page. See our AI development services for how a build like this is scoped by milestone.

Get started

Tell us what
you're trying to build.

Book a 30-minute call — we'll tell you honestly whether an agent on WhatsApp (or wherever your customers already are) makes sense for you.