Google Calendar modules
In an 51ºÚÁϲ»´òìÈ Workfront Fusion scenario, you can automate workflows that use Google Calendar, as well as connect it to multiple third-party applications and services.
For instructions on creating a scenario, see the articles under Create scenarios: article index.
For information about modules, see the articles under Modules: article index.
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 51ºÚÁϲ»´òìÈ Workfront Fusion licenses, see 51ºÚÁϲ»´òìÈ 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.
Triggers
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.
Watch events (Instant)
This trigger module uses a mailhook to create an email address that you can use as an invitee to events. The module starts a scenario based on events that the email address is invited to.
Actions
Create a calendar
This action module creates a calendar associated with the account.
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.
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.
Get events
This module retrieves information about events in the selected calendar based on criterie you specify.
You specify the calendar and the parameters of the search.
The module returns the ID of the events 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.
Iterators
Iterate attachments
This action modules iterates through attachments to an event, and outputs each attachment in a separate bundle.
Iterate attendees
This action modules iterates through attendees for an event, and outputs each attendee in a separate bundle.
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.