recipe-share-doc-and-notify

recipe-share-doc-and-notify

熱門

分享 Google Docs 文件並授予編輯權限,同時透過電子郵件將連結寄送給協作者。

2.9萬星標
1669分支
更新於 2026/3/31
SKILL.md
readonlyread-only
name
recipe-share-doc-and-notify
description

分享 Google Docs 文件並授予編輯權限,同時透過電子郵件將連結寄送給協作者。

分享 Google Doc 並通知協作者

前置條件: 載入以下技能以執行此配方:gws-drivegws-docsgws-gmail

分享 Google Docs 文件並授予編輯權限,同時透過電子郵件將連結寄送給協作者。

步驟

  1. 尋找文件:gws drive files list --params '{"q": "name contains '\''Project Brief'\'' and mimeType = '\''application/vnd.google-apps.document'\''"}'
  2. 授予編輯者存取權限:gws drive permissions create --params '{"fileId": "DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "reviewer@company.com"}'
  3. 寄送連結: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'