360 Secure SkillHub
360 安全技能中心

Recipe Share Doc And Notify

核心功能:查找指定Google Docs文档,为指定用户开放编辑权限,并自动发送含文档链接的通知邮件。典型场景:项目协作中邀请同事编辑文档并同步告知。需依赖gws-drive、gws-docs、gws-gmail技能,通过命令参数指定文档特征、协作者邮箱等执行操作。

googleworkspace-bot
googleworkspace-bot
热度 74.63
最近更新 2026-05-11 17:31:45
分类:协作依赖:第三方 API应用场景:邮件起草 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add recipe-share-doc-and-notify
Metadata
name
recipe-share-doc-and-notify
description
Share a Google Docs document with edit access and email collaborators the link.
metadata
{"version":"0.22.5","openclaw":{"category":"recipe","domain":"productivity","requires":{"bins":["gws"],"skills":["gws-drive","gws-docs","gws-gmail"]}}}

Share a Google Doc and Notify Collaborators

PREREQUISITE: Load the following skills to execute this recipe: gws-drive, gws-docs, gws-gmail

Share a Google Docs document with edit access and email collaborators the link.

Steps

  1. Find the doc: gws drive files list --params '{"q": "name contains '\''Project Brief'\'' and mimeType = '\''application/vnd.google-apps.document'\''"}'
  2. Share with editor access: gws drive permissions create --params '{"fileId": "DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "reviewer@company.com"}'
  3. Email the link: gws gmail +send --to reviewer@company.com --subject 'Please review: Project Brief' --body 'I have shared the project brief with you: https://docs.google.com/document/d/DOC_ID'