文档办公

recipe-create-presentation

googleworkspace/cli

Create a new Google Slides presentation and add initial slides.

  • 3.3万 次安装
  • 3.2万 星标
  • 收录于

安装命令

npx skills add https://github.com/googleworkspace/cli --skill recipe-create-presentation

要点

Create a new Google Slides presentation with initial slides and sharing.

  • Requires the gws-slides skill as a prerequisite dependency
  • Creates presentations with a specified title and retrieves the presentation ID for further operations
  • Supports sharing presentations with team members by setting permissions (writer, viewer, or other roles) via email address

SKILL.md

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"}'