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": "alice@company.com"}, {"email": "bob@company.com"}, {"email": "carol@company.com"}]}' - Verify attendees:
gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'