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

Skill · 已公开版本

recipe-create-presentation · 创建 Google Slides 演示文稿

通过 gws 命令行新建 Google Slides 演示文稿,获取演示文稿 ID,并向团队成员授予写入权限。

先看看示例

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

输入

创建标题为 Quarterly Review Q2 的演示文稿,取得 ID 后以 writer 角色共享给 team@company.com。

输出

预期交付:新建的演示文稿及其 ID,共享权限设置结果。(编辑说明,非实际运行结果)

方法说明

---
name: recipe-create-presentation
description: "Create a new Google Slides presentation and add initial slides."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-slides
---

# Create a Google Slides Presentation

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-slides`

Create a new Google Slides presentation and add initial slides.

## Steps

1. Create presentation: `gws slides presentations create --json '{"title": "Quarterly Review Q2"}'`
2. Get the presentation ID from the response
3. Share with team: `gws drive permissions create --params '{"fileId": "PRESENTATION_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "team@company.com"}'`