googleworkspace avatar

Recipe Batch Invite To Event

googleworkspace/cli
20.2k

This skill enables adding multiple attendees to an existing Google Calendar event and automatically sending notifications. It leverages the `gws-calendar` and `gws` CLI tools to retrieve event details, update the attendee list, and verify the changes. Designed for users managing scheduling via Google Workspace, it streamlines the process of organizing events with multiple participants.

npx skills add https://github.com/googleworkspace/cli --skill recipe-batch-invite-to-event

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

  1. Get the event: gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'
  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"}]}'
  3. Verify attendees: gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'

GitHub Owner

Owner: googleworkspace

SKILL.md


name: recipe-batch-invite-to-event version: 1.0.0 description: "Add a list of attendees to an existing Google Calendar event and send notifications." metadata: openclaw: category: "recipe" domain: "scheduling" requires: bins: ["gws"] skills: ["gws-calendar"]

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

  1. Get the event: gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'
  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"}]}'
  3. Verify attendees: gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'

More skills