recipe-batch-invite-to-event
Installation
Summary
Batch-add attendees to Google Calendar events with automatic notifications.
- Requires the
gws-calendarskill andgwsbinary 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
SKILL.md
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"}'
Related skills
More from googleworkspace/cli
gws-gmail
Gmail: Send, read, and manage email.
26.2Kgws-docs
Read and write Google Docs.
26.1Kgws-drive
Google Drive: Manage files, folders, and shared drives.
26.0Kgws-sheets
Google Sheets: Read and write spreadsheets.
24.7Kgws-calendar
Google Calendar: Manage calendars and events.
24.7Kgws-docs-write
Google Docs: Append text to a document.
21.8K