recipe-share-doc-and-notify
Share a Google Doc, grant editing permissions, and automatically notify collaborators via email, facilitating efficient team collaboration and co-editing of document content.
npx skills add https://github.com/googleworkspace/cli --skill recipe-share-doc-and-notifyBefore / After Comparison
1 组Sharing Google Docs requires manually setting editing permissions, then copying the link and drafting an email to notify collaborators, which is cumbersome. Information is not delivered promptly, affecting team collaboration.
Automatically share Google Docs and grant editing permissions, while simultaneously notifying collaborators of the link via email. This simplifies the sharing process, ensures timely information delivery, and enhances team collaboration efficiency.
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'
User Reviews (0)
Write a Review
No reviews yet
Statistics
User Rating
Rate this Skill