googleworkspace/cli

recipe-batch-invite-to-event

Add a list of attendees to an existing Google Calendar event and send notifications.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

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"}'
来自同一仓库

更多 Skills

全部 Skills