$npx -y skills add googleworkspace/cli --skill recipe-batch-invite-to-eventAdd a list of attendees to an existing Google Calendar event and send notifications.
| 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"}'` |