Google Calendar modules
In an ÃÛ¶¹ÊÓƵ Workfront Fusion scenario, you can automate workflows that use Google Calendar, as well as connect it to multiple third-party applications and services.
If you need instructions on creating a scenario, see Create a scenario in ÃÛ¶¹ÊÓƵ Workfront Fusion.
For information about modules, see Modules in ÃÛ¶¹ÊÓƵ Workfront Fusion.
Access requirements
You must have the following access to use the functionality in this article:
To find out what plan, license type, or access you have, contact your Workfront administrator.
For information on ÃÛ¶¹ÊÓƵ Workfront Fusion licenses, see ÃÛ¶¹ÊÓƵ Workfront Fusion licenses.
Prerequisites
To use Google Calendar modules, you must have a Google account.
Google Calendar API information
The Google Calendar connector uses the following:
Google Calendar modules and their fields
When you configure Google Calendar modules, Workfront Fusion displays the fields listed below. Along with these, additional Google Calendar fields might display, depending on factors such as your access level in the app or service. A bolded title in a module indicates a required field.
If you see the map button above a field or function, you can use it to set variables and functions for that field. For more information, see Map information from one module to another in ÃÛ¶¹ÊÓƵ Workfront Fusion.
Events
Watch events
This trigger module executes a scenario when a new event is added, updated, deleted, started, or ended in the calendar you specify. The module returns all standard fields associated with the record or records, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Search events
This action module searches for an event in the selected calendar.
You specify the calendar and the parameters of the search.
The module returns the ID of the event and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Get an event
This action module returns the metadata for a single event in the specified calendar.
You specify the calendar and event.
The module returns the ID of the event and all associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Create an event
This action module creates an event.
You specify the calendar and the parameters for the event.
The module returns the ID of the event and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Update an event
This action module changes an existing event.
You specify the calendar and event ID.
The module returns the ID of the event and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
You can update the event information by entering new values to the desired field. For details about the individual fields, see Create an event.
Delete an event
This action module deletes an event.
You specify the calendar and event ID.
The module returns the ID of the event and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Calendars
List calendars
This action module returns the calendars on a user’s calendar list.
The module returns the ID of the calendar and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Get a calendar
This action module retrieves a calendar.
You specify the ID of the calendar you want to retrieve.
The module returns the ID of the record and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Create a calendar
This action module creates a new calendar.
You specify a name for the calendar.
The module returns the ID of the calendar and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Update a calendar
This action module updates a calendar.
You specify the ID of the calendar you want to update.
The module returns the ID of the calendar and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Delete a calendar
This action module deletes a calendar.
You specify the ID of the calendar you want to delete.
The module returns the ID of the calendar and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Clear a calendar
This action module removes all events from an account’s primary calendar.
You specify the connection that connects to the account that contains the calendar you want to clear.
The module returns the ID of the calendar and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Access control rules
List access control rules
This action module returns the rules in the access control list on a calendar.
When you are configuring this module, the following fields display.
Get an access control rule
This action module returns the metadata of an access control rule.
When you are configuring this module, the following fields display.
Create an access control rule
This action module creates a new access control rule.
You specify a name for the calendar.
The module returns the ID of the access control rule and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Update an access control rule
This action module updates an access control rule.
You specify a name for the calendar.
The module returns the ID of the access control rule and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Delete an access control rule
This action module deletes an access control rule.
You specify a name for the calendar.
The module returns the ID of the access control rule and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Iterators (deprecated)
The iterate attachments and iterate attendees modules have been deprecated. To iterate attachments or attendees, use the Flow Control > Iterator module. For more information, see Iterator module in ÃÛ¶¹ÊÓƵ Workfront Fusion
Other
Make an API Call
This module allows you to perform a custom API call.
Select the HTTP request method you need to configure the API call. For more information, see HTTP request methods in ÃÛ¶¹ÊÓƵ Workfront Fusion.
Get Free/Busy Information
This action module returns free and busy information for a set of calendars.
The module returns the ID of the calendar and any associated fields, along with any custom fields and values that the connection accesses. You can map this information in subsequent modules in the scenario.
When you are configuring this module, the following fields display.
Trigger a scenario before an event
You can trigger a scenario a specified time before an event with the help of standard Google Calendar email reminders and the Webhooks >Custom mailhook module.
-
Use the Google Calendar >Update an event module to add an email reminder to your event:
-
Create a new scenario starting with the Webhooks >Custom mailhook module.
- Copy the mailhook’s email address.
- Save the scenario and execute it.
-
In Gmail, redirect the Google Calendar email reminders to the mailhook’s email address:
-
Open your Gmail settings.
-
Open the Forwarding and POP/IMAP tab.
-
Click Add a forwarding address.
-
Paste the copied mailhooks’s email address, click​ Next, confirm by pressing Proceed in the popup window, then click OK.
-
In Workfront Fusion, switch to the new scenario that should finish its execution by receiving the confirmation email.
-
Click the bubble above the module to inspect the module’s output.
-
Expand the
Text
item and copy the Confirmation code: -
In Gmail, paste the Confirmation code in the edit box and click​ Verify:
-
Open the Filters and Blocked Addresses tab.
-
Click Create a new filter.
-
Setup a filter for all emails coming from
calendar-notification@google.com
and click​ Create a filter: -
Select Forward it to and choose the mailhooks’s email address from the list.
-
Click Create filter to create the filter.
-
-
(Optional) In Workfront Fusion, add the Text parser > Match pattern module after the Webhooks >Custom mailhook module to parse the email’s HTML code to obtain any information you need.
For example, you could configure the module as follows to obtain the event’s ID:
Pattern:
<meta itemprop="eventId/googleCalendar" content="(?<evenitID>.*?)"/>
Text: The
HTML content
item outputted from the Webhooks >Custom mailhook module.