Google Calendar connector

Google Calendar connector in the studio helps you to connect with your Google-associated calendar and perform various functionalities in it. You can then further use the connector by integrating it with various controls in your microapp.

Configuring Google Calendar connector

To add Google Calendar connector in your account you simply have to find Google Calendar under Studio > Connectors, click (+) Connector.

Select it and click on Connect Google Calendar. A pop-up will display asking you to connect to your google account. Authorize it and your Google Calendar connector is ready.

Using Google Calendar connector

Now that we have configured the Google Calendar connector, you will see that various endpoints are available with the connector.

These endpoints will be useful to work with the data to fetch from and feed data to Google Calendar.

Fetch user calendars

For instance, if we want to see all the available calendars of our account, we have to go to the data bind section of our control and select the Google Calendar connector, select GetCalendarList endpoint, and finally select our configured account.

Provide the message ID or calendar ID which same as the google login email address, then bind the keys as columns for the control and click Test & Finish.

3last

Adding a quick event

Now if you want to add a quick event in your Google Calendar you can do it by selecting the AddQuickEvent endpoint. This will add an event with the summary/ details provided by the user.

You can trigger it through actions of several controls.

Let’s try this out using the button control. In the action of the button control, we will add the server-side action of the Google Calendar connector. Select the AddQuickEvent endpoint then select the configured account.

Next, it will ask you to choose the calendar from your account, to where you want to add the event. Also, you need to describe the event you want to add. This data can be fetched from other input controls using keywords as well.

Click Continue then Finish .

Now if you check your calendar, a quick event is added to it with the mentioned event details.