Google Calendar modules
- Topics:
- Workfront Fusion
In an Adobe 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:
Current license requirement: No Workfront Fusion license requirement.
Or
Legacy license requirement: Workfront Fusion for Work Automation and Integration
Current product requirement: If you have the Select or Prime Adobe Workfront Plan, your organization must purchase Adobe Workfront Fusion as well as Adobe Workfront to use functionality described in this article. Workfront Fusion is included in the Ultimate Workfront plan.
Or
Legacy product requirement: Your organization must purchase Adobe Workfront Fusion as well as Adobe Workfront to use functionality described in this article.
To find out what plan, license type, or access you have, contact your Workfront administrator.
For information on Adobe Workfront Fusion licenses, see Adobe 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.
Select the mailhook that you want to use for this module. To create a new mailhooke, click Add and enter the connection you want to use for the mailhook.
For instructions about connecting your Google Calendar account to Workfront Fusion, see Create a connection to Adobe Workfront Fusion - Basic instructions
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.
Enter or map a name for the event.
Note: If you have selected Quick add in the Create an event field, you can include the date and time of the event, and Workfront Fusion creates the event for that date and time. Example: Appointment at Capitol Hill on June 3rd 10am-10:25am
. If you selected Quick add but do not include a date and time in the event name, the event is created from the current time and lasts an hour.
Enter or map the start date and time of the event.
For a list of supported date formats, see Type coercion.
Enter or map the end date and time of the event.
For a list of supported date formats, see Type coercion.
Select the visibility of this event.
-
Default
The event has the visibility that you have set in your calendar settings.
-
Public
Anyone the calendar is shared with can see this event.
-
Private
Only attendees can see this event.
Select whether to send notifications about the creation of a new event to all guests, to non-Google Calendar guests, or to no one.
Tip: We recommend using the None option only for migration use cases.
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.
Enter or map the date when the event starts. This module also retrieves events starting before this date, that are still occurring on the entered start date.
For a list of supported date and time formats, see Type coercion.
Enter or map the date when the event ends.
For a list of supported date and time formats, see Type coercion.
Select the order of the events returned in the result.
- Start Time: Order by the start date and time (ascending). This is only available when querying single events.
- Updated Time: Order by last modification time (ascending).
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.
Enter or map a name for the event.
Note: If you have selected Quick add in the Create an event field, you can include the date and time of the event, and Workfront Fusion creates the event for that date and time. Example: Appointment at Capitol Hill on June 3rd 10am-10:25am
. If you selected Quick add but do not include a date and time in the event name, the event is created from the current time and lasts an hour.
Enter or map the start date and time of the event.
For a list of supported date formats, see Type coercion.
Enter or map the end date and time of the event.
For a list of supported date formats, see Type coercion.
Select the visibility of this event.
-
Default
The event has the visibility that you have set in your calendar settings.
-
Public
Anyone the calendar is shared with can see this event.
-
Private
Only attendees can see this event.
Select whether to send notifications about the creation of a new event to all guests, to non-Google Calendar guests, or to no one.
Tip: We recommend using the None option only for migration use cases.
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.