Skip to main content

Google Calendar

Type ID: googleCalendar  ·  Kind: Action  ·  Trace: TOOL

Fetch and create events using the Google Calendar API.

Credentials

Google Calendar

Resources & operations

  • Event (event)
    • Create (create) — Create an event
    • Read All (readAll) — Fetch events from a calendar

Properties

Common

PropertyKeyTypeRequiredDefaultPossible valuesShown when
ResourceresourceoptionsNoeventEvent (event)
OperationoperationoptionsNoreadAllCreate (create), Read All (readAll)resource = event

Event → Create

PropertyKeyTypeRequiredDefaultPossible valuesShown when
Calendar IDcalendarIdstringYesprimaryCalendar ID; use primary for the connected account primary calendarresource = event, operation = create
SummarysummarystringNo''Event summary/titleresource = event, operation = create
StartstartdateTimeYes''Event start in RFC3339 formatresource = event, operation = create
EndenddateTimeYes''Event end in RFC3339 formatresource = event, operation = create
Additional FieldsadditionalFieldsobjectNo{}Collection (see below)resource = event, operation = create

additionalFields collection options:

PropertyKeyTypeRequiredDefaultPossible values
DescriptiondescriptionstringNo''Free text
LocationlocationstringNo''Free text
Time ZonetimeZonestringNo''Optional IANA time zone applied to both start and end

Event → Read All

PropertyKeyTypeRequiredDefaultPossible valuesShown when
Calendar IDcalendarIdstringYesprimaryCalendar ID; use primary for the connected account primary calendarresource = event, operation = readAll
OutputoutputoptionsNosimpleSimplified (simple), Raw (raw), Select Included Fields (fields)resource = event, operation = readAll
LimitlimitnumberYes100Maximum number of events to return across paginated resultsresource = event, operation = readAll
FieldsfieldscheckboxYes[]id, status, summary, description, location, htmlLink, updated, start, endresource = event, operation = readAll, output = fields
FiltersuserFiltersobjectNo{}Collection (see below)resource = event, operation = readAll

userFilters collection options:

PropertyKeyTypeRequiredDefaultPossible values
SearchquerystringNo''Free-text search query for matching event fields
Start AftertimeMindateTimeNo''Return events ending after this RFC3339 date-time
Start BeforetimeMaxdateTimeNo''Return events starting before this RFC3339 date-time
Expand Recurring EventssingleEventsbooleanNotruetrue / false (return recurring events as separate instances)
Include DeletedshowDeletedbooleanNofalsetrue / false
Time ZonetimeZonestringNo''Optional IANA time zone used by the API response

Notes

  • Requires a Google Calendar credential; the credential ID is read from credentials.id and resolved to an OAuth bearer token. A missing token raises Workflow error, credentials missing.
  • All requests go to https://www.googleapis.com/calendar/v3 with Authorization: Bearer <token>.
  • Create posts to /calendars/{calendarId}/events with { summary, start: { dateTime }, end: { dateTime } }. description and location are added only when present; timeZone (from additional fields) is applied to both start.timeZone and end.timeZone. Output: { success: true, eventId, htmlLink, status, createdEvent }.
  • Read All calls GET /calendars/{calendarId}/events and paginates via nextPageToken until limit events are collected. Per-page maxResults is capped at 250 (and overall request capped at 2500); when singleEvents is true, orderBy is set to startTime. Optional query params (q, timeMin, timeMax, timeZone) are added only when set. Results are sliced to limit, then shaped per output (raw full event, simple reduced shape, fields selected keys). Output: { success: true, count, data }.