# Building a simple booking page with AI

URL: https://ekom.blog/building-a-simple-booking-page-with-ai/
Published: 2026-07-28
Author: Ekom
Topics: Build with AI

> A practical way to build a simple booking page with an AI assistant, and when it's smarter to embed a scheduling tool instead of writing your own.

Say you run a small service: tutoring, consultations, a barber's chair, a photographer's calendar. People keep asking "are you free on Thursday?" by message, and the back-and-forth eats your week. A booking page fixes that.

You can ask an AI assistant to build one in an afternoon. Whether you should depends on one question: do you need a calendar that knows about clashes, or only a request form?

## Start with the honest question

There are two very different things hiding under "booking page".

A booking request page. The visitor picks a service and a preferred time, leaves contact details, and you confirm by message. You stay in control. No clash detection is needed because you are the clash detection.

A live booking system. The page shows available slots, takes one, removes it from the list, sends confirmations and reminders, and handles cancellations. That needs a database, time zones, double-booking protection and email. It's a real product.

An assistant will happily write either. The first is a sensible thing to build yourself. The second is usually a better job for an existing scheduling tool that you embed, because the tricky parts (time zones, clashes, reminders) are already solved and tested.

## The finished thing

A single page with a short description of your services, a form with the fields you need, a confirmation message, and an email or notification to you with the details.

## Step 1: list what you need to know

Write down the fields before you write the prompt. For most small services:

- Name

- Email or phone (whichever you'll use to reply)

- Service (a dropdown)

- Preferred date and a second choice

- Preferred time window (morning, afternoon, evening) rather than an exact time

- A notes box

Resist adding more. Each extra field loses some people.

## Step 2: the prompt

Build a booking request page in plain HTML, CSS and JavaScript. A heading, two sentences of introduction, then a form with: name, email, service (dropdown: Consultation, Follow-up, Workshop), preferred date (date input that blocks past dates), alternative date, time window (radio buttons: morning, afternoon, evening) and a notes textarea. Validate required fields, show errors next to each field, and show a confirmation message after submit. Send the data with fetch() to the URL in ENDPOINT. Mobile-first, keyboard accessible, no libraries.

Notice "blocks past dates" and "errors next to each field". These small details are what separate a form you can use from one that's irritating.

## Step 3: get the data to you

The form has to go somewhere. Options, from simplest to most involved:

- A form-handling service that emails you each submission.

- Your site's existing form feature (a WordPress form plugin, a Shopify form).

- A spreadsheet that receives rows, with a small script as the receiver.

- A server function you write yourself.

For a first version, pick the service or the spreadsheet. The goal is to learn whether people use the page, not to build infrastructure. Ask the assistant to explain the setup step by step for the option you choose, and follow it slowly. Never paste a private key into the page's JavaScript; anyone who views the source can read it.

## Step 4: add the details that make it trustworthy

A booking page asks for personal details, so it needs to behave properly.

- Say what happens next. "I'll reply within one working day to confirm." People relax when they know.

- Show your time zone. If you serve people in different places, the page should state yours clearly. Time zone mix-ups are the classic booking bug.

- Say how to cancel or change. One line is enough.

- Link to a privacy note. You're collecting names and contact details.

- Confirm by email. Even for a request form, a "we got it" message reassures people and gives them a record.

## Step 5: when to embed instead

Move to a scheduling tool if any of these become true:

- People book slots that clash.

- You're answering the same "is this free?" question in messages again.

- You need reminders to cut no-shows.

- Payment needs to be taken at booking.

You can still keep your own page. Most scheduling tools give you an embed snippet or a link, and the assistant can help you place it in your page and style the surrounding text. You get the design you want, and the calendar logic comes from something built for it.

## Step 6: test it

- Book as a customer on your phone.

- Try a past date, an empty form and a very long name.

- Check the email or spreadsheet row arrives with every field.

- Ask a friend to try it without any instructions. Watch where they hesitate; that's your next edit.

## What goes wrong

Exact times without availability. If the form lets people choose 3pm on Tuesday, they assume it's confirmed. A time window plus "I'll confirm" avoids false promises.

Dates and time zones. Date inputs return a date with no time zone. Be careful if you store or compare dates, and ask the assistant to explain how it handles them.

Spam. Public forms attract bots. Ask for a hidden honeypot field and basic rate limiting on the receiving end. If it still gets noisy, a simple "not a robot" check helps.

Forgetting the mobile keyboard. Use the right input types (email, tel, date) so phones show suitable keyboards.

If you're thinking about sign-ups as well, many of the same form lessons apply to a newsletter signup form built with AI, including consent and where the data goes.

## Key takeaways

- Decide first: request form or live calendar.

- Build the request form yourself; embed a tool for live slots.

- List the fields before you write the prompt, and keep them few.

- Tell people what happens next, in your time zone.

- Test on a phone, with bad input, and with someone who hasn't seen it before.

## Related reading

- Building a store locator page with AI

- Building a simple CRM in a spreadsheet with AI

- Building a changelog page generator with AI

Which are you actually after: fewer messages, or fewer empty slots? Write that down as your goal, and build the smallest page that moves it.

---

From Ekom (https://ekom.blog/). More: https://ekom.blog/llms.txt
