Book appointments in the bot: the Booking step

The Booking step lets visitors book an appointment in the conversation. It offers the real free times of one or more people, read from their calendars or from Calendly, and books the time the visitor picks at that moment. The booking is an ordinary event in the person’s calendar (or a Calendly booking), and the visitor gets the invitation.

A time that is booked is gone for the next visitor, an event you add to the calendar yourself is respected a minute later, and two visitors who pick the same time at the same moment never both get it. The step works on your website and on the messaging channels: Messenger, WhatsApp, Telegram, Viber, Instagram, Line and X (Twitter).

Before you start: connect a calendar

The step books through a calendar integration of your organization. Four kinds are offered:

  • Google Calendar
  • Microsoft 365 Calendar, for Outlook calendars of Microsoft 365 and Outlook.com
  • CalDAV, for iCloud, Fastmail, Nextcloud, Zoho, Synology and other calendars that speak CalDAV
  • Calendly

Open your organization’s Integrations, click Add new integration, and pick one under Calendar. Give it a name you will recognise, such as “Team calendar”, and save it.

One integration can serve several people: each person of the step is one calendar (or one Calendly event type) of an integration. To book colleagues through your account, have them share their calendar with it, with the right to make changes.

Google Calendar

Open the integration and click Authorize. Google asks you to choose your Google account and to allow Quriobot to see your list of calendars, see when you are busy, and create and change events in them. Allow it, and you come back to the integration, now Active.

The step can then book the account’s own calendars and every calendar shared with it with the permission Make changes to events. Google e-mails the visitor the invitation.

Microsoft 365 Calendar

Open the integration and click Authorize. Microsoft asks you to pick your Microsoft account and to allow Quriobot to read and write your calendars, including those shared with you, and to read your mailbox settings (where Outlook keeps your working hours). Allow it, and the integration is Active. If your company only lets an administrator approve apps, Microsoft asks for that approval instead.

The step can book the account’s own calendars and those shared with it that it may edit. Microsoft e-mails the visitor the invitation.

Microsoft 365 is the one calendar whose working hours the step can follow: set a person’s Hours to Calendar’s working hours (see People), and that person is offered times within the working hours the calendar’s owner set in Outlook, in the time zone set there. When the owner changes them in Outlook, the step follows within ten minutes, with no change to the bot.

CalDAV (iCloud, Fastmail and others)

A CalDAV integration is connected with the calendar account’s own details:

  • Server address: the address of your CalDAV server, starting with https://. For iCloud it is https://caldav.icloud.com, for Fastmail https://caldav.fastmail.com. The calendars are found from it.
  • Username: the account’s username, often its e-mail address. For iCloud, your Apple Account’s e-mail address.
  • Password: an app-specific password where the provider has them. iCloud requires one: create it in your Apple Account (account.apple.com), under Sign-In and Security, App-Specific Passwords. Fastmail has them too.
  • Calendar owner’s email address: needed only when the username is not an e-mail address and the server names none. The bookings are organised from this address, and the owner’s e-mails go to it.

Click Save. Quriobot signs in to the server and looks for the calendars it can book; when it finds at least one, the integration is Active. If the server refuses the username and password, the form says so under the password. Only https:// addresses are accepted, since the password goes with every request.

The password is never shown again. Leave it empty when you save other changes, and enter it again when you change the server address or the username.

Some CalDAV servers send invitations themselves. For those that do not, Quriobot e-mails the visitor the invitation, from your organization’s sender and in the language of the conversation, with the event attached so it can be added to any calendar.

Calendly

Open the integration and click Authorize, then sign in to Calendly and allow Quriobot access. The integration is Active.

The step can book your Calendly user’s and organization’s active one-on-one and round-robin event types. Group event types and event types that take a payment are not offered.

Calendly keeps its own rules: the event type’s availability, length, buffers, notice and questions all come from Calendly, and the step offers the times Calendly has available. Change them in Calendly. Calendly sends the confirmation to the visitor and notifies the host.

A step books either calendars or Calendly event types, never both. For both, use two Booking steps.

Calendly’s plan limit. Calendly allows booking through its API only on some plans, and on the Free plan and during a trial only 5 bookings a day. When Calendly refuses a booking for the plan, nothing is booked: the visitor gets the step’s “no free times” text, and your organization’s Technical email (in the organization settings) gets an e-mail explaining that the Calendly plan does not allow it or has used up its bookings for the day. Upgrading the Calendly plan lifts the limit.

Add the Booking step

Add a step to your bot and choose Booking. Put it after the steps whose answers it uses, such as the visitor’s name and e-mail address.

A new step starts with the question “When would you like to meet?”, 30-minute appointments on weekdays from 9:00 to 17:00, times up to four weeks ahead, and the visitor picking the person. Its settings are in four parts: People, Rules, Appointment and Notify the calendar’s owner.

People

Click Add person for each person who can be booked, up to 100:

  • Name: the name the visitor sees for this person.
  • Integration: the calendar integration.
  • Calendar or event type: the calendar this person is booked in, or the Calendly event type.
  • Code: the value a template gives to choose this person (see From a template below).
  • Hours: where this person’s weekly hours come from: The step’s (the hours in the step’s rules), Own hours (weekly hours and dates of this person’s own), or, for Microsoft 365 only, Calendar’s working hours. Their busy times always come from the calendar.
  • Also busy in: up to ten more calendars whose busy times block this person, such as a private calendar or a room the appointment needs. They can be calendars of any calendar integration of your organization.

Person sets how the visitor’s appointment gets its person:

  • Visitor picks: the visitor picks a person first, then a day and a time. A person with no free time is not offered.
  • Anyone available: the free times of all people in one list. A time free for several people goes to the first of them in the list.
  • From a template: the person whose code the Person template gives, for example {{service.value}} when an earlier step’s options carry the people’s codes as values. Every person needs a code of their own.

Rules

The rules decide when a person may be booked; the calendars decide what is already taken. They are for calendars only: a Calendly step has no rules, since Calendly keeps them.

  • Time zone of the hours and dates: the time zone of the step’s hours, each person’s own hours, the dates, the public holidays, the date range and the bookings per day. When empty, your organization’s time zone is used. A person on their calendar’s working hours keeps that calendar’s time zone.
  • Hours: the weekdays and hours in which times can be booked. A day can have several ranges (Add hours), for example 9:00 to 12:00 and 13:00 to 17:00, or be Closed.
  • Dates: dates whose hours replace their weekday’s, or that are closed, such as a shorter day before a holiday. Click Add date.
  • Public holidays: the country whose public holidays are closed. Each holiday of the list can be kept open, and a date with its own hours opens a holiday too.
  • Closures calendar: a calendar whose events close their time for every person, whether they are marked busy or free: a subscribed holiday calendar, or an “Office closed” calendar. An all-day event closes the whole day.
  • Length (minutes): how long an appointment is. Interval (minutes): how far apart the offered times start; 0 offers them one length apart.
  • Bookings per day: the most times this step books one person on one day; 0 has no limit.
  • Buffer before (minutes) and Buffer after (minutes): free time kept before and after each appointment, next to the calendar’s other events, for example travel time.
  • Length template, with Minimum length (minutes) and Maximum length (minutes): a template that gives the length in minutes, for example from an AI variable that estimates the work the visitor described. It is used when it is within the minimum and the maximum, else the length above.
  • Minimum notice (minutes): how long before its start a time can still be booked.
  • Times offered: Days ahead (how many days ahead times are offered), or Between two dates (a First date and a Last date).

For each person and date, the hours are the date’s own hours if it has them, else closed if it is a public holiday, else the person’s weekly hours.

How visitors pick a time

These settings are for every Booking step, Calendly’s included:

  • Days per page: how many days the visitor sees at a time.
  • Days as: Calendar, a month calendar of the free days, or List. On the website and the chat page only: the messaging channels always show a list.
  • Ask the time of day first: visitors pick Any time, Morning, Afternoon or Evening before the days, and only see the days with a free time then.
  • Calendar link text: the text of the link to the step’s calendar in the messaging channels (see Messaging channels).

A day with more free times than fit at once first offers its parts of the day, Morning (before 12:00), Afternoon (12:00 to 17:00) and Evening (from 17:00), each with its first and last time, and then the times of the part the visitor picks.

On the website, a visitor taps a time and then Book to confirm it, for example Book 14:30; nothing is booked before that. A visitor whose own time zone differs from the step’s sees the times in their own (“Times in Europe/London”), with a switch to the step’s time zone (“Show times in Europe/Amsterdam”). The booking is made for the same moment either way.

Appointment

What the booking says, in the calendar and in the visitor’s invitation. Each field can hold bot variables, mixing fixed text, earlier answers and computed variables (Chat Completion, Script, String). They are filled in from the conversation when the visitor picks the time.

  • Title: the appointment’s title in the calendar, for example Repair: {{service}} for {{name}}. A new step’s is “Appointment with” the visitor’s name when the bot has a name step.
  • Location: where the appointment takes place. Type a place and pick it from Google’s suggestions: it is written in full, name and address, so every calendar finds it on a map. A variable works too. Calendly uses it only when the event type asks the invitee for the location; otherwise it keeps the event type’s own.
  • Description: the appointment’s description. A new step’s is “Booked through” the bot’s name, followed by {{chatTranscriptText}}: the conversation up to the Booking step, its questions and answers, so the person booked sees what the visitor asked. A transcript longer than 7,000 characters keeps its first answers and ends with “…”. You can change or remove it.
  • Attendee email: the visitor’s e-mail address, which gets the invitation. Usually the variable of an Email step. Without it, the event is made without an attendee and no invitation is sent.
  • Attendee name: the visitor’s name, usually the variable of a Full name step.

A new step fills the attendee fields from the bot’s Email and Name steps. A Calendly step needs both.

Calendly questions: a Calendly step lists the questions of its event types, each with a template for its answer, such as {{address}}. A question Calendly marks required needs one.

When you test the bot in its preview, bookings are made for real, so you can see them in the calendar. They are marked as tests: the event’s title starts with “[Test]”, or for Calendly the invitee’s name does. Delete them in the calendar afterwards.

Notify the calendar’s owner

Google, Microsoft 365 and CalDAV send the invitation to the visitor only. Two e-mails tell the owner of the booked person’s calendar:

  • E-mail to the calendar owner: booking, on each booking, a moved one too.
  • E-mail to the calendar owner: cancellation, when a booking is cancelled in the conversation: a Redo, or the old time of a moved booking.

Each is composed like an e-mail response action, without recipients: it goes to the calendar’s owner (for CalDAV, the server’s calendar address, the username, or the Calendar owner’s email address). Both are on for a new step, with the subjects “New booking: " and “Booking cancelled: " followed by the booked time and person. Turn either off on its own. The from address must be a verified one. In the booking e-mail, {{bookingMovedFrom}} names the time a moved booking moved from.

A Calendly step has no such e-mails: Calendly notifies its host itself.

When a time is taken, changed or cancelled

  • Taken meanwhile: when someone else books the time first, the visitor gets the step’s text for it (“Someone just booked that time. Please pick another.”) and fresh times, in the same step.
  • No free time: when no person has a free time, the step shows its “no free times” text (“There are no free times at the moment.”) and the conversation goes on with the step’s next step.
  • Redo: on the website, Redo on the booked answer cancels the booking at once, and the step offers its times again, the freed one included. If the calendar does not cancel it, the booking and the answer stay, and the visitor is asked to try again.
  • Changing the answer: when the visitor edits the answer and picks another time, the new time is booked first and the old one cancelled after. If the new time is taken, the old booking stays.
  • A click twice: a repeated pick, or a message a channel delivers twice, books once.

Messaging channels

In Messenger, WhatsApp, Telegram, Viber, Instagram, Line and X (Twitter), the step asks one level at a time: the person (when the visitor picks one), then the day, then the time. A level with more options than the channel shows at once ends with an option for the next page, and every level after the first has Back. Times are in the step’s time zone, labelled with it.

The step also offers a link to its own page, with the calendar, labelled with the Calendar link text (a new step’s is “Pick on a calendar”; left empty, the channel shows ↕️). The page opens at the level the visitor is at, shows the times in the visitor’s own time zone, and a time booked there answers the step in the conversation. Telegram and X show the link as a button on every level, WhatsApp, Instagram and Line as a line of each level’s text, Messenger and Viber as a message of its own each time the step is asked.

Using the booking later

The booked time and person show in the bot’s results, its exports and the live chat transcript. Through a Step variable on the Booking step, later steps and response actions can use it:

  • {{booking}}: the booked day and times, and the person when the step has several, for example “Dec 08, 2026, 14:30–15:00 (Europe/Amsterdam), Work”;
  • {{booking.value}}: the booking as JSON;
  • {{booking.json}}: the booking’s start, end, person, person code and the calendar’s booking id, for a JSON webhook.

Here booking stands for the name of your step variable.

When a calendar stops working

When a calendar refuses Quriobot’s access (the access was revoked in the Google or Microsoft account, the CalDAV password changed), the step stops offering that integration’s times instead of showing an error, and your organization’s Technical email gets an e-mail, at most once an hour per integration. Open the integration and click Authorize again, or save the new password.

An integration a Booking step uses cannot be deleted: remove it from the step’s people first. When a bot moves to another organization, each person is booked through that organization’s integration of the same name and type; a person with none there is removed from the step.

Edit this page