Recipe Batch Invite To Event

作者 googleworkspacea3768d0e82ad無授權條款31K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫昨天更新

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

AI 產生的概覽

將一組參與者加入現有的 Google 日曆活動並傳送通知。

功能
此配方說明如何使用 gws 命令列工具將多位參與者加入現有的 Google 日曆活動。它會先取得活動,再以參與者電子郵件清單進行修補並要求傳送通知,最後驗證更新後的參與者清單。交付結果是包含新參與者且已傳送通知的更新後日曆活動。
適用情境
當您需要邀請多人參加已建立的 Google 日曆活動時使用。它適合已知參與者電子郵件且需要傳送通知的批次邀請工作。
執行需求
需要 gws 命令列工具與 gws-calendar 技能。需要存取 Google 日曆以及現有活動 ID。不包含指令碼,僅為操作說明。

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

來源與署名

來源:googleworkspace/cli位於skills/recipe-batch-invite-to-event提交a3768d0

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架