跳到主要内容
哒哒星球DADA PLANET

Skill · 已公开版本

recipe-create-events-from-sheet · 表格行批量创建日历事件

从 Google Sheets 表格读取事件数据,按每一行创建对应的 Google Calendar 日程条目,适合把活动清单批量落到日历。

先看看示例

作者提供的示例,实际效果取决于你的输入和使用工具。

输入

读取 Events!A2:D 中的团队站会安排,为每行创建 2026-01-20 09:00-09:30 的日程并添加 alice、bob 为参与人。

输出

预期交付:Google Calendar 中逐条创建的日程事件。(编辑说明,非实际运行结果)

方法说明

---
name: recipe-create-events-from-sheet
description: "Read event data from a Google Sheets spreadsheet and create Google Calendar entries for each row."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-sheets
        - gws-calendar
---

# Create Google Calendar Events from a Sheet

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-sheets`, `gws-calendar`

Read event data from a Google Sheets spreadsheet and create Google Calendar entries for each row.

## Steps

1. Read event data: `gws sheets +read --spreadsheet SHEET_ID --range "Events!A2:D"`
2. For each row, create a calendar event: `gws calendar +insert --summary 'Team Standup' --start '2026-01-20T09:00:00' --end '2026-01-20T09:30:00' --attendee alice@company.com --attendee bob@company.com`