Building an AI Appointment Booking System in 30 Minutes
April 25, 2026 • 8 min read
One of the most common use cases for AI agents is appointment booking. In this tutorial, we'll build a complete system where customers can check availability and book appointments through natural conversation.
What We're Building
By the end of this tutorial, you'll have an AI agent that can:
- Answer questions about your services
- Check real-time availability on Google Calendar
- Book appointments and send confirmation emails
- Handle rescheduling and cancellations
Prerequisites
- Indexu installed and running
- A Google Cloud account with Calendar API enabled
- About 30 minutes
Step 1: Connect Google Calendar
First, we need to connect your Google Calendar to Indexu.
Go to Integrations → Add Integration → Google Calendar and click "Connect with Google". Authorize access to your calendar.
Once connected, select which calendar to use for bookings. You can create a dedicated "Appointments" calendar if you want to keep things separate.
Step 2: Create the AI Agent
Navigate to Agents → Create Agent and configure:
- Name: Appointment Assistant
- System Prompt: See below
- Tools: Enable Google Calendar integration
Here's a system prompt that works well:
You are a friendly appointment booking assistant for [Your Business Name]. Your job is to help customers: 1. Learn about our services 2. Check available appointment times 3. Book, reschedule, or cancel appointments When booking appointments: - Always confirm the date, time, and service before booking - Collect the customer's name and email - Appointments are 30 minutes unless specified otherwise - Business hours are Monday-Friday, 9 AM - 5 PM Be conversational and helpful. If you can't help with something, offer to connect them with a human.
Step 3: Add Your Knowledge Base
The AI needs to know about your services to answer questions accurately.
Go to Knowledge → Create Knowledge Base and add information about:
- Services you offer and pricing
- Location and contact information
- Policies (cancellation, rescheduling, etc.)
- Frequently asked questions
You can upload documents, paste text, or even crawl your existing website.
Step 4: Create a Channel
Now let's create a web chat widget to embed on your website.
Go to Channels → Create Channel → Web Chat:
- Select your Appointment Assistant agent
- Customize the widget colors to match your brand
- Set a welcome message like "Hi! I can help you book an appointment. What service are you interested in?"
Copy the embed code and add it to your website.
Step 5: Test It Out
Open your website and try the chat widget. Here's a sample conversation:
Customer: Hi, I'd like to book a consultation
AI: I'd be happy to help you book a consultation! Let me check our availability. What day works best for you?
Customer: How about tomorrow afternoon?
AI: I have these times available tomorrow afternoon: 1:00 PM, 2:30 PM, and 4:00 PM. Which works best for you?
Customer: 2:30 works
AI: Great! To complete your booking for tomorrow at 2:30 PM, I just need your name and email address.
Going Further
Once you have the basics working, consider adding:
- SMS reminders via Twilio integration
- WhatsApp channel for customers who prefer messaging
- Workflow automation to send follow-up emails after appointments
- Human escalation for complex scheduling requests
Conclusion
In about 30 minutes, you've built an AI appointment booking system that works 24/7, handles natural conversation, and integrates directly with your calendar. No coding required.
The same pattern works for other use cases: connect an integration, give the AI context through your knowledge base, and deploy through a channel.
Need help getting started?
Request a demo and we'll walk you through setting up Indexu for your specific use case.