recipe-share-doc-and-notify
Share a Google Docs document with edit access and email collaborators the link.
Imported description, not reviewed yet
This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.
Download
Install
After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.
For this project
It goes in: .claude/commands/
mkdir -p .claude/commands && unzip ~/Downloads/recipe-share-doc-and-notify.zip -d .claude/commandsFor your account on the whole machine
It goes in: ~/.claude/commands/
mkdir -p ~/.claude/commands && unzip ~/Downloads/recipe-share-doc-and-notify.zip -d ~/.claude/commands
Instructions
Share Doc And Notify
Execute Google Workspace workflow: $ARGUMENTS
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'
Task
Execute this workflow with the following parameters: $ARGUMENTS
-
Prerequisites Check
- Verify
gwsCLI is installed:gws --version - Confirm authentication:
gws auth status - Load required GWS skills (check PREREQUISITE section above)
- Verify
-
Parameter Preparation
- Parse task parameters from $ARGUMENTS
- Validate required inputs
- Prepare JSON payloads and flags
-
Execute Workflow Steps
- Follow the steps outlined above
- Replace placeholder IDs with actual values
- Handle errors and retries
- Log progress and results
-
Verify Results
- Confirm each step completed successfully
- Verify changes in Google Workspace
- Report final status and any issues
Tips
- Use
--dry-runflag when available to preview changes - Always inspect API schemas before calling:
gws schema <service>.<resource>.<method> - Check command help for all flags:
gws <service> <resource> <method> --help
License: Apache License 2.0
Source: Google Workspace CLI
Original Skill: recipe-share-doc-and-notify
Files
- LICENSE1 KB
- recipe-share-doc-and-notify.md2.1 KB
What the automatic scan found
We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.
- Needs a lookAllowed tools with no limits
In file cli-tool/components/commands/google-workspace/recipes/recipe-share-doc-and-notify.md
Comments (0)
No comments yet. Be the first.
Sign in to comment. Commenting comes at level 1 (Member).