Skip to main content
googleCalendar.addToCalendarList adds an existing calendar and can set its initial display preferences.

Example

Inputs

Provide the accessible calendar ID in calendar even when the calendar isn’t in the user’s list. Optional backgroundColor and foregroundColor require #RRGGBB. hidden, selected, and summaryOverride set user preferences. notifications is an array of { type } where type is eventCreation, eventChange, eventCancellation, eventResponse, or agenda. Second argument { account } selects the Google Account.

Output

Returns the new calendar-list Calendar. See Get calendar-list entry. The action subscribes to an existing calendar. It doesn’t create or share one.