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 从公开仓库中收录这些内容。

举报或申请下架