bygoogleworkspace· 58 skills
Add a list of attendees to an existing Google Calendar event and send notifications.
$npx -y skills add googleworkspace/cli --skill recipe-batch-invite-to-eventInstalls into the current project.
Run `npx skills use "https://github.com/googleworkspace/cli" --skill "googleworkspace/cli/recipe-batch-invite-to-event"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/googleworkspace/cli" that are relevant to the current task. Run `npx skills add "https://github.com/googleworkspace/cli"` and select the relevant skills, then follow their instructions.
| 1 | # Add Multiple Attendees to a Calendar Event |
| 2 | |
| 3 | > **PREREQUISITE:** Load the following skills to execute this recipe: `gws-calendar` |
| 4 | |
| 5 | Add a list of attendees to an existing Google Calendar event and send notifications. |
| 6 | |
| 7 | ## Steps |
| 8 | |
| 9 | 1. Get the event: `gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'` |
| 10 | 2. 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"}]}'` |
| 11 | 3. Verify attendees: `gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'` |