SuperAPI AI 工具集

recipe-cancel-and-notify

通用与其它

查看项目

更新于 10-16 06:52

技能介绍

用途:删除一个 Google 日历事件,并通过 Gmail 向参会者发送会议取消邮件,适用于需要取消会议并同步通知相关人员的场景。

前置条件:执行本配方前,需先加载 gws-calendar 和 gws-gmail 两个技能。

主要步骤:

  1. 查找会议。使用命令 gws calendar +agenda --format json 列出日程,定位目标事件的 event ID。
  2. 删除事件。使用命令 gws calendar events delete --params '{"calendarId": "primary", "eventId": "EVENT_ID", "sendUpdates": "all"}' 删除该事件。
  3. 发送后续通知。使用命令 gws gmail +send --to attendees --subject 'Meeting Cancelled: [Title]' --body 'Apologies, this meeting has been cancelled.' 向参会者发送取消邮件。

注意事项:资料明确提示,删除时使用 sendUpdates 会向所有参会者发送取消邮件,操作前需确认。

限制:资料未提供具体运行环境要求、权限范围、失败处理方式、价格或平台支持等更多信息。