Skip to content

Google Calendar — Get event by ID

Type: googlecalendar-get-event  ·  Package: Google Calendar v1.0.5  ·  Output: Dictionary<string,object>

Gets a single event by its ID, with all its data. Use it when you already have the ID (from Get events or Create event) and want its current state: whether it is still confirmed, who accepted, whether its time changed.

Queries Google by eventId in the calendar calendarId. It only reads: nothing is changed. A cancelled event is returned with status = "cancelled".

ParameterTypeDefaultDescription
eventIdstring—Event ID.
ParameterTypeDefaultDescription
sessionZoanGoogleCalendarSession—Session from Google Calendar — Connect. Inside Connect’s body it is inherited and you can leave it empty.
calendarIdstringprimaryCalendar ID (from Get calendars). primary is the account’s main calendar.

Returns a Dictionary with the event data: ev["summary"], ev["start"], ev["end"], ev["status"], ev["location"], ev["attendees"] (guests with their response)…

MessageCause and fix
'eventId' is required.eventId is empty or its expression returned null.
No Google Calendar session available. Provide 'session' from a googlecalendar-connect activity, or place this activity inside the Connect activity's body …The activity is outside Connect’s body and received no session. Move it inside the body or pass the saved session.
The service calendar has thrown an exception. HttpStatusCode is NotFound…The event does not exist in that calendar: check calendarId.
The service calendar has thrown an exception. HttpStatusCode is …Google rejected the call: unknown calendar or event, no access, expired token or quota exceeded. See Google API errors.

Log each guest’s response:

Google Calendar — Connect credential = credential("calendar-team")
└─ body:
Google Calendar — Get event by ID eventId = meetingId → output: ev
If condition = !isNull(ev["attendees"])
└─ then:
For Each items = ev["attendees"] itemVariable = guest
└─ activities:
Log message = guest["email"] + ": " + guest["response"]