Skip to main content
Enter TitanOS
Demo project: WhatsApp-style AI chat automation flow

Demo project: WhatsApp-style AI chat automation flow

A small service business gets the same questions all day: opening hours, prices, how long a job takes, and requests to book. I set myself the brief a business owner might send: answer the common questions instantly, take a booking in a few messages, and hand over to a person when the customer asks for one.

29 of 29
test messages routed to the expected intent; I wrote and tuned them, so this shows the logic works, not real-world accuracy
2.9 ms
median response over a real local HTTP endpoint, slowest 14.7 ms, on my machine
4
automated tests cover the booking flow and non-text messages, all passing

Evidence label: SYNTHETIC

Demo project. This was built to show what I can deliver. It is not a client job. The business ("Sample Bike Workshop"), the phone numbers and every message are synthetic, and nothing connects to a real WhatsApp account.

How fast

This demo took a single working session. A client version with your own FAQ, a tested intent set and a staging webhook is typically a few days, and I confirm the timeline after seeing your real questions.

Fast is nice. What did it cost?

What it cost

No client money and no paid services were involved. The demo was built and run on my own machine, and no dollar figure per build is claimed. Anything that runs live for a client runs on the client's own accounts and keys, so their usage is never fronted by us.

What was built

  • A chat handler in plain Python with no third-party packages. It has a webhook endpoint that accepts a message payload shaped like the WhatsApp Cloud API format, an intent router, a set of FAQ answers, a short booking conversation that remembers where the customer is up to, and a handover to a human. I also wrote a local test runner and a mock chat screen.
  • A message arrives at the webhook as JSON. The router scores it against keyword lists for each intent (hours, prices, turnaround, location, e-bikes, warranty, booking, human, greeting). The highest score wins, and ties go to the more important intent, so "human" beats everything. FAQ intents return a fixed, pre-written answer. Booking starts a small state machine that asks for a day, then a name, then confirms. Anything it cannot place gets an honest fallback that offers a person, rather than a guess.
  • I kept the answers fixed on purpose. In a client version, every reply a customer sees would be written and approved by the business, so the bot cannot invent a price. An AI model can be added for free-text questions later, but the fixed answers stay as the safe floor.
  • What a client gets: The working handler, the test runner and the source, with the FAQ answers replaced by your own.
  • Your questions mapped to intents, using a sample of your real enquiries, then measured on messages I have not seen before.
  • Connection to the WhatsApp Business platform or another channel, once you have approved account access.
  • Plain handover rules, so a person always picks up what the bot cannot answer.

Cheap and fast still has to work. How do we know it does?

How it was checked

29 of 29 test messages were routed to the expected intent. Caution: I wrote those test messages and tuned the keywords while building, so this shows the logic works, not how it would score on a real customer's messages. Over the real local HTTP endpoint, the median response was 2.9 ms and the slowest 14.7 ms across those 29 requests (run on my own machine, no network; repeat runs vary by a few milliseconds, as the test output image shows). The multi-step booking flow and non-text messages (such as an image) are covered by automated tests, 4 tests in total, all passing.

Screens from the working app

Would it be okay if we talked about something like this for your business? A free consultation is the first step, and a no is welcome.

Book a free consultationAll case studies
Book a free call