SuperAPI AI 工具集

recipe-batch-invite-to-event

办公与效率

查看项目

更新于 10-16 09:38

技能介绍

用途:向已有的 Google Calendar 事件批量添加一组参会者,并向其发送通知。

前置条件:执行本配方前需加载 gws-calendar 技能。

主要步骤:

  1. 获取事件:gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'
  2. 添加参会者: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. 验证参会者:gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'

使用方式:将命令中的 EVENT_ID 替换为实际事件 ID,将 --json 中的邮箱列表替换为待添加的参会者邮箱,然后按顺序执行上述命令。

适用场景:需要一次性邀请多位参会者加入已有日程,并确保系统发送通知时。

限制:资料未提供其他限制、平台要求、收费或价格信息。