
Google Workspace InsertEvent
CertifiedCreate a Google Calendar event
Google Workspace InsertEvent
Create a Google Calendar event
Inserts a new event in the target calendar using a service account. Requires summary, start, and end times; optional location, description, creator, and attendees.
type: io.kestra.plugin.googleworkspace.calendar.InsertEventExamples
id: googleworkspace_calendar_insert_event
namespace: company.team
tasks:
- id: insert_event
type: io.kestra.plugin.googleworkspace.calendar.InsertEvent
serviceAccount: "{{ secret('GCP_SERVICE_ACCOUNT_JSON') }}"
calendarId: team@company.com
summary: Sample Event
description: This is a sample event from Kestra
location: Thane, Mumbai
startTime:
dateTime: "2024-11-28T09:00:00+05:30"
timeZone: "Asia/Calcutta"
endTime:
dateTime: "2024-11-28T10:00:00+05:30"
timeZone: "Asia/Calcutta"
creator:
email: myself@gmail.com
Properties
calendarId *Requiredstring
Calendar ID
Email-style calendar to create the event in; must be shared with the service account
endTime *RequiredNon-dynamic
End time
RFC3339 datetime for the end; must be after start
io.kestra.plugin.googleworkspace.calendar.AbstractInsertEvent-CalendarTime
Datetime
RFC3339 timestamp with offset, e.g. 2024-11-28T09: 00: 00-07: 00
Timezone
IANA timezone, e.g. America/Los_Angeles
startTime *RequiredNon-dynamic
Start time
RFC3339 datetime for the start; include offset
io.kestra.plugin.googleworkspace.calendar.AbstractInsertEvent-CalendarTime
Datetime
RFC3339 timestamp with offset, e.g. 2024-11-28T09: 00: 00-07: 00
Timezone
IANA timezone, e.g. America/Los_Angeles
summary *Requiredstring
Event title
Required summary shown in the calendar
attendees Non-dynamicarray
Attendees
Replaces the attendee list on creation
io.kestra.plugin.googleworkspace.calendar.AbstractInsertEvent-Attendee
Attendee name
Optional display name
Attendee email
Email address of the attendee
creator Non-dynamic
Creator
Optional explicit creator shown on the event
io.kestra.plugin.googleworkspace.calendar.AbstractInsertEvent-Attendee
Attendee name
Optional display name
Attendee email
Email address of the attendee
description string
Event description
Optional body text; supports templating
location string
Location
Free-form place text such as city, room, or address
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
readTimeout integerstring
120The read timeout for the request (in seconds)
scopes array
["https://www.googleapis.com/auth/calendar"]The GCP scopes to used
serviceAccount string
The GCP service account key
Outputs
event
Inserted event
Event resource containing the new event ID