Skip to content
All work

Chatbot demo

WhatsApp Booking Bot

A WhatsApp assistant for the Tsir clinic demo. Patients book a visit in a few taps, ask about prices, parking or insurance, and get a reminder the day before. The demo runs the same code a real WhatsApp number would.

The WhatsApp chat demo in Hebrew: the clinic bot offers free times as a list, and a booking is confirmed
Role
Solo: conversation design and code
For
Clinics, salons, any business that books by WhatsApp
Languages
Hebrew and English
Status
Live demo; ready for a WhatsApp Business number

Why WhatsApp

In Israel, most customers would rather send a WhatsApp message than fill in a form or call. For a small clinic that means someone answering the same questions all day, often in the middle of a treatment.

This bot takes the repetitive part: booking, prices, hours, parking, insurance. Anything else goes to a person, with the message passed on.

How a booking works

The customer picks a treatment from a WhatsApp list, then a day, then one of the free times, and confirms with a button. The free times come from the same calendar the clinic's website uses, so the chat and the site never offer the same slot twice. If a time is taken while someone is deciding, the bot says so and offers another.

Written questions work too. Typing "how much is a session?" or "יש חניה?" gets the answer, in the language it was asked in.

No memory needed

Every button and list row carries the step it leads to in its id, and the customer's name comes from their WhatsApp profile. So the server doesn't have to remember conversations: any message can be answered on its own, which suits a serverless host and survives restarts.

From demo to a real number

The demo page shows, for each message, the exact JSON that WhatsApp's webhook would deliver and the exact JSON the server would send back. The webhook itself is part of the site: it checks Meta's signature on every request and stays switched off until a business number's keys are added.

For a real clinic, three things are connected: the clinic's calendar, an approved message template for the reminder (WhatsApp requires one when the business writes first), and a notification to staff when someone asks for a person.

What it does

  • Booking with WhatsApp's own buttons and lists: treatment, day, a free time, confirm
  • Shares the clinic's calendar, so a visit booked in the chat shows up on the website too
  • Answers prices, opening hours, parking, insurance and referrals in Hebrew or English
  • A day-before reminder with buttons to confirm, move or cancel
  • A real WhatsApp Cloud API webhook with signature checks, ready for a business number

Built with

  • TypeScript
  • Next.js
  • WhatsApp Cloud API
  • Webhooks