recipe-share-doc-and-notify
googleworkspace/cli
Share Google Docs with collaborators and notify them via email in one workflow.
What is recipe-share-doc-and-notify?
A recipe that combines Google Drive, Docs, and Gmail to share a document with edit access and automatically email collaborators the link. Use this when you need to distribute documents for collaborative review.
- Find documents by name in Google Drive
- Grant editor access to specific collaborators
- Send email notifications with document links
- Automate multi-step sharing workflows
- Integrate Drive, Docs, and Gmail operations
How to install recipe-share-doc-and-notify
npx skills add null --skill recipe-share-doc-and-notify- gws-drive skill installed
- gws-docs skill installed
- gws-gmail skill installed
- Google Workspace CLI (gws) configured
How to use recipe-share-doc-and-notify
- 1.Use gws drive files list to find the document by name or ID
- 2.Use gws drive permissions create to grant writer (editor) access to collaborators
- 3.Use gws gmail +send to email the document link to collaborators with context
Use cases
- Share a project brief with team members for review and feedback
- Distribute meeting notes to attendees with edit permissions
- Send contract drafts to stakeholders with notification emails
- Share design documents with collaborators and notify them immediately
- Automate document distribution for recurring team reviews
- Project managers coordinating document reviews
- Teams managing collaborative documents
- Administrative staff handling document distribution
- Anyone automating Google Workspace workflows
recipe-share-doc-and-notify FAQ
The recipe grants 'writer' (editor) access, allowing collaborators to edit the document.
Yes, you can run the share and email steps multiple times with different email addresses, or modify the commands to loop through a list of collaborators.
You must have gws-drive, gws-docs, and gws-gmail skills installed before running this recipe.
Use the gws drive files list command with a query filter matching the document name or other properties.
Full instructions (SKILL.md)
Source of truth, from googleworkspace/cli.
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
- 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'
Related skills
More from googleworkspace/cli and the wider catalog.
gws-gmail
Send, read, and manage Gmail emails via Google Workspace CLI.
gws-drive
Manage Google Drive files, folders, and shared drives via CLI.
gws-docs
Read and write Google Docs via command line.
gws-calendar
Manage Google Calendar events, calendars, and access control via CLI.
gws-sheets
Read and write Google Sheets spreadsheets via CLI.
gws-gmail-send
Send emails via Gmail with attachments, CC/BCC, HTML support, and draft options.