14min

Google Calendar

1. Introduction

New-age Digital Assistants facilitate end-to-end use case requirements. Many of them are around scheduling tasks, making appointments, booking slots for technical support visits, and so on. Creating an event is one requirement and getting reminded about that is even another all these are facilitated by bots built on Engati.

Engati’s integration hub allows integration with external applications to provide added functionality to portal users to build their bots. Integration of google calendar has facilitated all scheduling-related use cases by providing a connection between the calendar of requestor and requestee and thus creating events/scheduling appointments and reminders.

Typical use cases where a calendar can be used are Scheduling an appointment, Booking a slot for an activity, and scheduling team meetings.

1.1 Access

Google Calendar Integration is available with the Business Plan and higher. You can add your calendar account by clicking on the Integrations tab on your left panel and selecting Google Calendar.

Document image

Authorize using your Google email address to add that account to Calendar.

2. Connect your Google account

Steps to authorize calendar node to access your Google calendar

Step 1: Integrations>Google Calendar>Add Account

Step 2: Enter the Google Account ID to add and authorize.

Document image



3. Using the Calendar

Steps to add Google Calendar Node to the Bot

Step 1: Builder>Required Path

Step 2: Click on the Add node button or on the bottom right corner of the node that you wish to enter the Google Calendar node after and select Google Calendar from the integrations.

Document image



3.1 Scenario I: Get Slots

One of the key scenarios in which you would expect to use Google Calendar is to be able to get available slots for the period that a user is looking to get an appointment. These options are then to be presented to the user to select a time slot of preference.

Follow the sections below to learn how to configure the node to be able to present these slots to the end-user.



3.1.1 Calendar Details

1. After selecting the Google Calendar Node, you can choose a connected account or authorize a new one

Document image



2. In the ‘Select an Action’ field, select Get free slots.

Document image



3. Configure the following fields under Slots:

a. Show Timezone: You can select whether you’d like to display the timezone to the user. b. Slot Duration: You can select the duration of a slot in hours and minutes. c. Number of Options: You can select the number of slots (options) that you’d like the user to see. d. Date Preference: You can pass a date by directly inputting a value or an attribute. The slots that are fetched will be for this date. e. Timezone: You can select the required timezone from the drop-down list. f. Time Preference: This is the preferred time slot availability entered by the bot user as input. Slots are displayed within this time window. A user should enter the preferred time in a 24-hours format. For example: If the preferred time is between 10 am to 4 pm the user should enter 10:00-16:00.

If slots are not available for the given time it shows – No Slots Available for this date

g. Start Time Attribute: The text you enter here will be the name of the attribute that will contain the start time of the slot that the user has selected. h. End Time Attribute: The text you enter here will be the name of the attribute that will contain the end time of the slot that the user has selected

Document image



4. Under Calendar details configure the following:

a. Calendar: Select the required Calendar from the drop-down list. b. Working start time: The time at which the organization is ready to take slot requests.No slots are generated before this time. In hh: mm 24 Hr format Example 09:00. c. Working end time: The time at which the organization stops taking slot requests.No slots are generated after this time. In hh: mm 24 Hr format Example 18:00.

Document image



5. The restart option is available if you want to give your bot users an option to restart if their preferred tie slot is not available in the queue.

Document image



3.2 Scenario II: Create Event

This event is used to create an event in your google calendar from the Engati platform.

You can follow the below-mentioned steps in order to create an event in your Google Calendar.

  1. In the ‘Select an Action’ field, select Create Event from the drop-down list.
  2. In the event details configure the following fields: a. Calendar: Select the calendar in which you wish to create the event. b. Attendee email: Enter the attribute that contains the user’s email id. The event will be created for the user on this id. c. Start time: Enter the attribute that contains the time that the user wishes to start the event on. d. End time: Enter the attribute that contains the time that the user wishes to end the event on. e. Title: You can give a title to the event which will be communicated in the mail f. Description: You can add a description of the event in this column g. Location: You can add a location to the event using this field. h. Send Notifications: You can choose whether you’d like to send the user a notification of the event.

Once the details have been configured, click on next. The node will get created in the chosen path.

Document image
Document image



Updated 05 Jul 2022
Did this page help you?
Yes
No