# Google Calendar

Collaborate with your visitors and make it easy for them to view and book appointments.

Available on the **STARTER** plan and above.

The Google Calendar action block allows visitors to book appointments with you based on availability.

To use the Google Calendar, you will go across the following steps:

1. Connect your Google account
2. Create an event
3. Configure the event settings
4. Setup your meeting invite
5. Collect contact details to book

### Step 1: Connect your Google Calendar account <a href="#step-1-connect-your-google-calendar-account" id="step-1-connect-your-google-calendar-account"></a>

1. Goto Settings -> User -> Calendar and connect your Google account.
2. Choose the calendar in which events will be booked.
3. Choose the timezone of your availability.
4. Set your availability (Timeslots from this will be displayed to visitors)

Make sure you grant all the permissions as requested when connecting your account.

<figure><img src="https://help.wotnot.io/~gitbook/image?url=https%3A%2F%2F360969599-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FsrMxU8nO3RjusUiYuXBB%252Fuploads%252FlxJ6l0WQ8nQhOzoC28rB%252FCleanShot%25202024-06-06%2520at%252019.43.04.png%3Falt%3Dmedia%26token%3Dffe6a473-696f-4dfe-820c-6895c362f642&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=d144f5f1&#x26;sv=1" alt=""><figcaption></figcaption></figure>

### Step 2: Create an event <a href="#step-2-create-an-event" id="step-2-create-an-event"></a>

An event is a pre-set of what kind of meeting is to take place and who are the people among whom the event will be assigned.

1. Click "+Create event" to create an event.
2. Give the event a name.
3. Choose the teammates/team who should get assigned to this event.

<figure><img src="https://help.wotnot.io/~gitbook/image?url=https%3A%2F%2F360969599-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FsrMxU8nO3RjusUiYuXBB%252Fuploads%252FtioHCzzjeEUHOF7Coyov%252FCleanShot%25202024-06-06%2520at%252019.48.38.png%3Falt%3Dmedia%26token%3D8efe7c8d-ec73-449c-8f54-5fd788f0d4b0&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=b96b393d&#x26;sv=1" alt=""><figcaption></figcaption></figure>

**Note**:

* Slots are displayed to the visitor based on the availability of all users' in that event.
* An event is always assigned to only one user.

You can only see the users/teams in the list who have connected their Google calendars.

### Step 3: Configure the event settings <a href="#step-3-configure-the-event-settings" id="step-3-configure-the-event-settings"></a>

Customize how you want the event to be booked.

<figure><img src="https://help.wotnot.io/~gitbook/image?url=https%3A%2F%2F360969599-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FsrMxU8nO3RjusUiYuXBB%252Fuploads%252FvAN1AB5pIDE4RpANfiHQ%252FCleanShot%25202024-06-06%2520at%252019.51.31.png%3Falt%3Dmedia%26token%3D4413830a-415d-41fe-b203-7f0341d84388&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=ea65937d&#x26;sv=1" alt=""><figcaption></figcaption></figure>

| Configurations        | Description                                                                              |
| --------------------- | ---------------------------------------------------------------------------------------- |
| Slot duration         | Length of the event. From 5 mins to 120 mins                                             |
| Buffer time           | A gap between two events booked from the chatbot, ranging from 5 minutes to 120 minutes. |
| Notice time           | Meetings will only be booked X minutes in advance.                                       |
| Limit future bookings | Total days whose slots are visible.                                                      |

### Step 3: Setup your meeting invite <a href="#step-3-setup-your-meeting-invite" id="step-3-setup-your-meeting-invite"></a>

Here, you configure the messaging of the calendar invite, which is sent to the attendees.

* **Subject** - Subject of the meeting invite Like "Demo with WotNot".
* **Description** - Brief details of what and why is the event taking place.
* **Location** - You can include a Google Meet/Zoom meeting link here.

<figure><img src="https://help.wotnot.io/~gitbook/image?url=https%3A%2F%2F360969599-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FsrMxU8nO3RjusUiYuXBB%252Fuploads%252Fkmplhx2uQjakXFf7Rq2q%252FCleanShot%25202024-06-06%2520at%252019.53.05.png%3Falt%3Dmedia%26token%3D8c42b657-a076-4893-88ea-b2b35ced88e9&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=7c2fd2b4&#x26;sv=1" alt=""><figcaption></figcaption></figure>

### Step 4: Collect contact details to book the meeting <a href="#step-4-collect-contact-details-to-book-the-meeting" id="step-4-collect-contact-details-to-book-the-meeting"></a>

To book the event, it is mandatory to collect the name and email of the attendee.

You can customize this form to include other fields by creating new fields.

You can also enable the "Skip form" configuration, which will automatically skip this screen if data is already available.

As users who speak with your bot may have previously provided their contact details, the chatbot will smartly skip asking for the details again if it already knows the answer.

<figure><img src="https://help.wotnot.io/~gitbook/image?url=https%3A%2F%2F360969599-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FsrMxU8nO3RjusUiYuXBB%252Fuploads%252Fov197tN4ieFO1L2SlDNX%252FCleanShot%25202024-06-06%2520at%252019.57.01.png%3Falt%3Dmedia%26token%3Da60c5f2a-abc4-4a65-9968-a7cc6b65f1d0&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=1b6512e7&#x26;sv=1" alt=""><figcaption></figcaption></figure>

For every Google Calendar action block, you will find two output ports:

* **Success** - When an event is booked successfully.
* **Failure** - When there is a failure while booking the event.

### \[WhatsApp/SMS] Define the message copy <a href="#whatsapp-sms-define-the-message-copy" id="whatsapp-sms-define-the-message-copy"></a>

If you use Google Calendar on WhatsApp or SMS, you can change the copy of the message used to collect the date and timeslot.

<figure><img src="https://help.wotnot.io/~gitbook/image?url=https%3A%2F%2F360969599-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FsrMxU8nO3RjusUiYuXBB%252Fuploads%252FLxTt71QBuGrWYMNYEtDT%252FCleanShot%25202024-06-06%2520at%252020.01.23.png%3Falt%3Dmedia%26token%3D08fcdb19-6beb-4706-8973-95a435ac33f3&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=43ab9d4d&#x26;sv=1" alt=""><figcaption></figcaption></figure>

Copy that can be changed:

* **Date selection**
  * Question - Question asked when showing the list of dates.
  * Button text - On WA, clicking this button will display the list of dates.
  * Error message - When an invalid selection is made.
* **Timeslot selection**
  * Question - Asked when showing the list of timeslots.
  * Button text - On WA, clicking this button will display the list of timeslots.
  * Erro message - When an invalid selection is made.
* **Confirmation message** - Once the meeting is successfully booked .

### Meeting details <a href="#meeting-details" id="meeting-details"></a>

You can use the following system variables to use the booked date and time:

* gcal\_selected\_slot\_time
* gcal\_selected\_slot\_date
* gcal\_selected\_slot\_day

Click 'Save' on every section of the action panel to save your changes for that event.

Choosing a different event from the event dropdown will show its configurations.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.wotsabot.ai/wotsabot-help-articles/integrations/ready-integrations/google-calendar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
