Community编程与开发github.com

googleworkspace/recipe-batch-invite-to-event

批量添加参会者到现有的 Google 日历事件并发送通知。

recipe-batch-invite-to-event 是什么?

该技能用于在 Google 日历中批量添加参会者到已有事件,并自动发送通知。它通过事件 ID 和参会者列表作为输入,利用 Google Calendar API 的 `events.patch` 方法更新事件参与者。适用于需要将大型团队或用户列表一键添加到已计划事件中,如会议、研讨会或截止日期提醒。此技能支持 Google Workspace 账户,对于需要协作工具集成的 AI 代理(如 Claude Code、Cursor 或 Codex)尤为有用,可简化事件管理。执行方式基于 ID 和电子邮件列表,在添加参会者时保持事件详情完整,确保所有新成员收到邀请。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/googleworkspace/cli/tree/main/skills/recipe-batch-invite-to-event

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

recipe-batch-invite-to-event 是做什么的?

将一份参会者列表添加到现有的 Google 日历事件中,并发送通知。

使用说明

此技能允许你向一个已存在的 Google 日历事件批量添加参会者。你需要提供:

  • 事件的 日历 ID(可选,默认为主日历)
  • 事件的 事件 ID
  • 要添加的参会者 电子邮件地址列表

前提条件

  • 一个有效的 Google Workspace 账户。
  • 待修改的现有 Google 日历事件。

输入

提供一个包含以下键的 JSON 对象:

  • calendarId:字符串(可选)—— 代表日历的 ID。如果未指定,则使用主日历。
  • eventId:字符串(必需)—— 要更新的事件的 ID。
  • attendees:数组(必需)—— 要添加的参会者电子邮件地址列表。

示例:

{
  "calendarId": "primary",
  "eventId": "abc123xyz456",
  "attendees": ["[email protected]", "[email protected]"]
}

工作原理

此技能使用 Google Calendar API 的 events.patch 方法更新事件。它保留所有现有的事件详情,同时添加新的参会者并发送电子邮件通知。

环境变量

  • GOOGLE_CALENDAR_CREDENTIALS:包含用于验证 API 请求的 Google Calendar 凭据的 JSON 字符串。

输出

成功后,技能将返回更新后的事件对象,其中包含新增的参会者。

依赖项

  • googleapis npm 包,用于与 Google Calendar API 交互。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

googleworkspace/gws-admin-reports

Google Workspace Admin SDK: Audit logs and usage reports.

googleworkspace/gws-calendar

Google Calendar: Manage calendars and events.

googleworkspace/gws-calendar-agenda

Google Calendar: Show upcoming events across all calendars.

googleworkspace/gws-calendar-insert

Google Calendar: Create a new event.

googleworkspace/gws-chat

Google Chat: Manage Chat spaces and messages.

googleworkspace/gws-chat-send

Google Chat: Send a message to a space.

googleworkspace/gws-classroom

Google Classroom: Manage classes, rosters, and coursework.

googleworkspace/gws-docs

Read and write Google Docs.

googleworkspace/gws-docs-write

Google Docs: Append text to a document.

googleworkspace/gws-drive

Google Drive: Manage files, folders, and shared drives.

googleworkspace/gws-drive-upload

Google Drive: Upload a file with automatic metadata.

googleworkspace/gws-events

Subscribe to Google Workspace events.

googleworkspace/gws-events-renew

Google Workspace Events: Renew/reactivate Workspace Events subscriptions.

googleworkspace/gws-events-subscribe

Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON.

googleworkspace/gws-forms

Read and write Google Forms.

googleworkspace/gws-gmail

Gmail: Send, read, and manage email.

googleworkspace/gws-gmail-forward

Gmail: Forward a message to new recipients.

googleworkspace/gws-gmail-read

Gmail: Read a message and extract its body or headers.

googleworkspace/gws-gmail-reply

Gmail: Reply to a message (handles threading automatically).

googleworkspace/gws-gmail-reply-all

Gmail: Reply-all to a message (handles threading automatically).

相关技能