CodeWords raises $9M seed round
BlogResources

How to build a WhatsApp appointment booking bot in 2026

Build a WhatsApp appointment booking bot with CodeWords — connect Google Calendar, write your system prompt, and go live in under an hour. No code needed.

Rebecca PearsonRebecca Pearson7 min read
How to build a WhatsApp appointment booking bot in 2026

A WhatsApp appointment booking bot does something deceptively simple: it lets customers book, reschedule, and cancel appointments by having a conversation — no forms, no phone calls, no waiting on hold. Done right, it handles the entire booking flow automatically while you focus on running your business.

This guide walks through exactly how to build one with CodeWords in 2026 — from initial setup to live deployment — including the conversation flow, calendar integration, and the industries where it works best.

TL;DR

  • You can build a working WhatsApp appointment booking bot in under an hour with CodeWords — describe what you want to Cody, the AI automation assistant, and it builds the workflow for you.
  • Google Calendar and Calendly integrations are available out of the box via Composio — your bot can check availability and confirm bookings in real time.
  • Industries that benefit most include dental practices, aesthetics clinics, auto repair shops, and bakeries — anywhere appointments are a core part of the customer journey.

Why WhatsApp is the right channel for appointment booking

Appointment booking on WhatsApp has a specific advantage over other channels: it's where your customers already are. They don't need to download an app, create an account, or navigate an unfamiliar interface. They send a message the same way they'd text a friend.

WhatsApp messages have an open rate of around 98 percent — compared to roughly 20 percent for email. Appointment reminders sent on WhatsApp get read. Booking confirmations get saved. Follow-up messages that would get buried in email actually prompt a reply.

For service businesses that live and die by their appointment schedule, that difference in engagement is meaningful.

What you'll need before you start

  • A CodeWords account (sign up at codewords.agemo.ai)
  • A WhatsApp number — either your own (Personal Device) or CodeWords' Business API number
  • A calendar or booking tool — Google Calendar or Calendly work out of the box
  • About 45 to 60 minutes for the first build

Step 1: Describe your bot to Cody

Go to CodeWords and open a new agent. In the chat prompt, describe what you want your bot to do. Be specific — the more detail you give Cody, the better your first build will be.

A good starting description for a dental booking bot might look like:

"Build a WhatsApp bot for a dental practice. It should greet patients who message in, ask what they need (new patient appointment, checkup, emergency), check availability in Google Calendar, offer two or three available slots, confirm the booking, and send a reminder 24 hours before the appointment. It should be friendly but professional."

Cody will interpret this and generate the automation workflow. You can then review it, ask for changes, and iterate — just as you'd do in a conversation.

Step 2: Connect WhatsApp

Choose your connection method:

Personal Device: connect your existing WhatsApp number by scanning a pairing code. Takes about 30 seconds. No Meta approval process required.

Business API: use CodeWords' Business API number. Requires message templates for any outbound sends outside the 24-hour window. Better for businesses that want to send scheduled reminders to opted-in customers.

For most service businesses getting started, Personal Device is the faster path. You can always migrate to Business API later.

Step 3: Write your system prompt

The system prompt defines your bot's personality, boundaries, and behaviour. Think of it as the operating manual the AI refers to on every message.

A good system prompt for an appointment booking bot includes:

  • Who the bot is and who it serves ("You are the booking assistant for Riverside Dental. You help patients book, reschedule, and cancel appointments.")
  • Tone and style ("Be warm and professional. Keep responses short and easy to read on a phone.")
  • What the bot should and shouldn't do ("Only discuss appointments. If someone asks a clinical question, tell them to call the practice.")
  • How to handle edge cases ("If no slots are available in the next five days, offer to add the patient to a cancellation list.")

A focused, well-written system prompt prevents your bot from going off-topic and keeps the customer experience consistent.

Step 4: Connect Google Calendar or Calendly

In CodeWords, go to your integrations and connect Google Calendar or Calendly via Composio. This gives your bot real-time access to your availability.

Once connected, your bot can:

  • Check which slots are available for a given date range
  • Book a slot and add it to the calendar with the patient's name and contact number
  • Cancel or reschedule an existing booking
  • Retrieve a patient's next appointment when they ask

If you use Calendly, the integration works through Calendly's event types — your bot asks the customer what they need, maps that to the relevant event type, and pulls available slots accordingly.

Step 5: Test your bot

Before going live, test your bot thoroughly:

  • Send a normal booking request and follow it all the way through
  • Try edge cases: ask for a slot when nothing's available, try to cancel a booking that doesn't exist, ask an off-topic question
  • Test on mobile — your bot's responses should be easy to read on a phone screen
  • Check that calendar events are actually being created (look in Google Calendar or Calendly)

Iterate on your system prompt based on what you see. Most first builds need two or three rounds of tweaking before they handle edge cases gracefully.

The conversation flow

A well-designed appointment booking conversation on WhatsApp looks like this:

Customer: Hi, I'd like to book a checkup

Bot: Hi, thanks for getting in touch. I can help you book a checkup at Riverside Dental. Could you let me know which days work best for you this week or next?

Customer: Any day next week is fine, morning if possible

Bot: I've got the following available on Tuesday 22nd July and Wednesday 23rd July:

  • Tuesday 22nd, 9:00am
  • Tuesday 22nd, 10:30am
  • Wednesday 23rd, 8:30am

Which of these works best for you?

Customer: Tuesday at 9 please

Bot: Done — you're booked in for Tuesday 22nd July at 9:00am. You'll receive a reminder the day before. See you then.

The whole exchange takes under two minutes. No phone call required, no form to fill in, no waiting for a callback. The booking is confirmed in the calendar immediately.

Adding appointment reminders

One of the most valuable features of an appointment booking bot is automated reminders. Missed appointments are expensive — a well-timed reminder dramatically reduces no-shows.

With CodeWords, you can set up a scheduled workflow that:

  • Looks up appointments happening tomorrow
  • Sends each patient a reminder message with the time and any relevant instructions
  • Gives them a one-tap option to confirm or reschedule

Reminders sent via WhatsApp have much higher read rates than email or SMS — most patients see them within minutes.

Industries where this works particularly well

Dental practices: booking checkups, hygienist appointments, and emergency slots. See the dental WhatsApp agent guide.

Aesthetics clinics: consultations, treatment appointments, follow-ups. Patients often prefer the privacy of messaging over calling. See the aesthetics WhatsApp agent guide.

Auto repair and MOT shops: booking cars in for services, MOTs, and tyre changes. See the auto repair WhatsApp agent guide.

Bakeries: taking orders for collection or custom cake consultations — though this sits closer to order processing than appointment booking. See the bakery WhatsApp agent guide.

Each of these industries benefits from the same core dynamic: customers prefer messaging to calling, and automation handles the routine booking flow so staff can focus on delivery.

What to do when a customer asks to speak to a human

Your bot should know when to hand over. Common triggers for human handover:

  • The patient asks directly to speak to someone ("Can I speak to a person?")
  • The query is clinical or sensitive in a way the bot can't handle
  • Something goes wrong with the booking and the patient is frustrated

When handover is triggered, the bot should stop responding and notify a human — via a Slack message, an email alert, or a notification to whoever handles patient enquiries. The human then picks up the WhatsApp conversation directly.

CodeWords supports this handover flow natively.

Getting live

Once you're happy with your testing, publish the agent. Share your WhatsApp number (or click-to-chat link) with your customers via your website, email signature, or social profiles — and your booking bot is live.

The first few days are worth monitoring closely. Read through the actual conversations, look for any points where customers seem confused or the bot doesn't handle something well, and refine your system prompt accordingly.

Start building your WhatsApp appointment booking bot on CodeWords — describe what you want to Cody and be live within the hour.

Get started today

Your first agent is free to build.

Describe what you need. Cody handles the build, the connections, and the deployment.