You can use the Calendar App inside the Bot Builder to automatically book appointments through your chatbot.
Steps to Create a Booking Flow #
- Go to Chatbot → Create Bot Flow.
- Add a Trigger (e.g., Keyword on WhatsApp).
- Ask the user to choose the consultation type (Free or Paid) using an Interactive Message.
Fetch Available Dates #
- Add Automation App → Calendar → Fetch Available Date.
- Enter the Event ID from the Calendar booking page.
- Save the returned dates in a Bot Field (JSON) using Save Variable Value.
Let User Select a Date #
- Use an Interactive Dynamic List to display available dates.
- Save the selected date in a field such as Appointment Date.
Fetch Available Slots #
- Add Automation App → Calendar → Fetch Available Slots.
- Use the Event ID and the selected Appointment Date.
- Save the slots in another Bot Field (JSON).
Let User Select a Time Slot #
- Show the available slots using a dynamic list and save the selected slot.
Collect User Details #
- Ask for Email and optional Notes using Ask a Question blocks.
Create the Booking #
- Add Automation App → Calendar → Create New Booking.
- Map the required details such as:
- Date
- Slot
- Name
- Phone number
- Notes
Confirmation Message #
Finally, send a message confirming the booking with the selected date and time.
Once the user completes the process, the booking will automatically appear in the Calendar Booking panel with all the user details.
Main Bot Template
products/bot/flow/819b317e8efb7fe9ecf5c80fb928dce5
Payment Is Received
products/bot/flow/610227010f1bfbf88083211d3ffaf827
Payment Is Failed
products/bot/flow/5685d56b9bbb16f3cfa7d986c4f52afc
Reschedule Flow
products/bot/flow/7267f9906b86e40722545c47a751c325
Cancel Flow
products/bot/flow/b7fea1f12993c78931444eeee20439b0
Confirmation Messages
products/bot/flow/eb86b9cb2aa0fdf65f5a048c4fa9d072