recipe-share-doc-and-notify
googleworkspace/cli · 31.6k installs · 32K stars
Skill
Install
The repo has no one-line install. Follow its README.
Files
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
- Find the doc:
gws drive files list --params '{"q": "name contains '\''Project Brief'\'' and mimeType = '\''application/vnd.google-apps.document'\''"}' - Share with editor access:
gws drive permissions create --params '{"fileId": "DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "reviewer@company.com"}' - 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'
Facts
- Kind
- Skill
- Repo
- googleworkspace/cli
- Group
- Uncategorized
- Installs
- 31.6k
- Stars
- 32K
From the same repo
- 707gws-sharedgoogleworkspace/cli69.8k
- 1243recipe-find-large-filesgoogleworkspace/cli31.6k
- 1244recipe-create-task-listgoogleworkspace/cli31.6k
- 1245recipe-schedule-recurring-eventgoogleworkspace/cli31.6k
- 1247recipe-review-overdue-tasksgoogleworkspace/cli31.5k
- 1248recipe-copy-sheet-for-new-monthgoogleworkspace/cli31.5k