How to use IBM App Connect with Google Calendar

Google Calendar is a calendar service for time management and scheduling. You can use Google Calendar to organize your schedule, coordinate events with others, and get reminders about upcoming activities.

Connecting to Google Calendar

Complete the connection fields that you see in the App Connect Designer Connect > Applications and APIs page (previously the Catalog page) or flow editor. If necessary, work with your Google Calendar administrator to obtain these values.

Google Calendar authorization types and connection fields:
Authorization type Connection fields Applicability
Use the application's website to sign in (OAUTH 2.0 AUTH CODE) Application client ID App Connect Enterprise as a Service
Application client secret
The authorized redirect URI for your Google Calendar application (prefilled)
Provide credentials for App Connect to use (BASIC OAUTH) Application client ID App Connect Enterprise as a Service and App Connect in containers
Application client secret
OAuth access token
OAuth refresh token
Description of the connection fields:
Tip: To generate the Application client ID, Application client secret, OAuth access token, and OAuth refresh token see Getting OAuth client ID, client secret, access token, and refresh token for Google applications.
Connection field Description
Application client ID The unique identifier generated from the Google API Console that maps to specific project requests.
Application client secret The application client secret for the unique application client ID created for a specific project.
OAuth access token The access token generated from the application client ID and client secret.
OAuth refresh token The refresh token generated from the application client ID and client secret.

To connect to a Google Calendar endpoint from the App Connect Designer Applications and APIs page for the first time, expand Google Calendar, then click Connect. For more information, see Managing accounts.

Tip:

Before you use the account that is created in App Connect in a flow, rename the account to something meaningful that helps you to identify it. To rename the account on the Applications and APIs page, select the account, open its options menu (⋮), then click Rename Account.

General considerations

Before you use App Connect Designer with Google Calendar, take note of the following considerations:

  • (General consideration) You can see lists of the trigger events and actions that are available on the Applications and APIs page of the App Connect Designer.

    For some applications, the events and actions depend on the environment and whether the connector supports configurable events and dynamic discovery of actions. If the application supports configurable events, you see a Show more configurable events link under the events list. If the application supports dynamic discovery of actions, you see a Show more link under the actions list.

  • (General consideration) If you are using multiple accounts for an application, the set of fields that is displayed when you select an action for that application can vary for different accounts. In the flow editor, some applications always provide a curated set of static fields for an action. Other applications use dynamic discovery to retrieve the set of fields that are configured on the instance that you are connected to. For example, if you have two accounts for two instances of an application, the first account might use settings that are ready for immediate use. However, the second account might be configured with extra custom fields.

Events and actions

Google Calendar events

These events are for changes in this application that trigger a flow to start completing the actions in the flow.

Show more configurable events: Events that are shown by default are pre-configured by using optimized connectivity. More items are available after you configure events that can trigger a flow by polling this application for new or updated objects.

Google Calendar actions

Your flow completes these actions on this application.

Object Action Description
Calendar lists Add calendar to calendar list Adds calendar to calendar list
Remove calendar from calendar list Removes calendar from calendar list
Retrieve calendars from calendar list Retrieves the calendars from the calendar list
Update calendar properties in calendar list Updates calendar properties in calendar list
Calendar sharing Create calendar sharing Creates calendar sharing
Delete calendar sharing Deletes calendar sharing
Retrieve calendar sharing Retrieves calendar sharing
Update calendar sharing Updates calendar sharing
Update or create calendar sharing Updates an existing calendar sharing or creates a calendar sharing, if it doesn't exist
Calendars Check availability Returns the busy slots for a set of calendars. The remaining slots are the available slots on the calendars.
Clear calendar Clears a primary calendar, which deletes all events associated with the primary calendar of an account
Create calendar Creates a new calendar
Delete calendar Deletes a calendar
Retrieve calendar Retrieves a calendar
Update calendar Updates an existing calendar
Update or create calendar Updates an existing calendar or creates a new calendar if it doesn't exist
Events Create event Creates an event
Create quick event Creates an event based on a simple text string
Copy event Copies an event, which adds a private copy of an existing event to a calendar
Delete event Deletes an event
Delete recurring event Deletes a recurring event
Move event Moves an event to another calendar, for example, changes an event's organizer
Retrieve events Retrieves the events
Retrieve recurring events Retrieves the recurring events
Update event Updates the event
Update or create event Updates an existing event or creates a new event, if it doesn't exist
Update recurring event Updates the recurring event

Examples

Dashboard tile for a template that uses Google Calendar
Dashboard tile for a template that uses Google Calendar
Dashboard tile for a template that uses Google Calendar

Use templates to quickly create flows for Google Calendar

Learn how to use App Connect templates to quickly create flows that perform actions on Google Calendar. For example, open Discover, and then search for Google Calendar.

Dashboard tile for a template that uses Google Calendar
Google calendar flow in detailed view

Use IBM® App Connect to build flows that integrate with Google Calendar.

Read the blog in the IBM Community to learn how to create a Google Calendar event whenever an epic is created in GitLab. Click Read the blog to go to the blog.