技能 效率工具 共享Google文档并通知

共享Google文档并通知

v20260401
recipe-share-doc-and-notify
自动为 Google 文档赋予编辑权限并通过 Gmail 通知协作者,省去反复设置共享和撰写邮件的步骤,快速让团队成员获得可编辑链接。
获取技能
107 次下载
概览

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'
信息
Category 效率工具
Name recipe-share-doc-and-notify
版本 v20260401
大小 1.09KB
更新时间 2026-04-08
语言