General 1,662 installs

Add Multiple Attendees to a Calendar Event

by googleworkspace/cli

Add a list of attendees to an existing Google Calendar event and send notifications.

Skill content

Batch-add attendees to Google Calendar events with automatic notifications.

- Requires the gws-calendar skill and gws binary to execute

- Workflow includes three steps: retrieve the event, patch attendees with sendUpdates: "all" to notify participants, and verify the update

- Supports adding multiple attendees in a single operation by passing an array of email addresses

Add Multiple Attendees to a Calendar Event

PREREQUISITE: Load the following skills to execute this recipe: gws-calendar

Add a list of attendees to an existing Google Calendar event and send notifications.

Steps

- Get the event: gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'

- Add attendees: gws calendar events patch --params '{"calendarId": "primary", "eventId": "EVENT_ID", "sendUpdates": "all"}' --json '{"attendees": [{"email": "[email protected]"}, {"email": "[email protected]"}, {"email": "[email protected]"}]}'

- Verify attendees: gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'