先看看示例
作者提供的示例,实际效果取决于你的输入和使用工具。
输入
把项目评审会的三位同事邮箱一次性加入现有事件,并发送更新通知后核对参会人列表。
输出
预期交付:更新后的日历事件,包含新增参会人及通知发送结果。(编辑说明,非实际运行结果)
方法说明
---
name: recipe-batch-invite-to-event
description: "Add a list of attendees to an existing Google Calendar event and send notifications."
metadata:
version: 0.22.5
openclaw:
category: "recipe"
domain: "scheduling"
requires:
bins:
- gws
skills:
- gws-calendar
---
# 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"}'`