Log in

recipe-share-doc-and-notify

Vercel
All-time installs
27.5K

Share a Google Docs document with edit access and email collaborators the link.

Other options

Summary

Share a Google Doc with collaborators and send them notification emails.

  • Combines three Google Workspace skills (Drive, Docs, Gmail) to locate documents, grant editor access, and notify recipients in sequence
  • Automates the workflow of finding docs by name, adding collaborators with write permissions, and emailing them the share link
  • Requires gws-drive, gws-docs, and gws-gmail skills to be loaded before execution

Raw SKILL.md

1,117 bytes
---
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

1. Find the doc: `gws drive files list --params '{"q": "name contains '\''Project Brief'\'' and mimeType = '\''application/vnd.google-apps.document'\''"}'`
2. Share with editor access: `gws drive permissions create --params '{"fileId": "DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "[email protected]"}'`
3. Email the link: `gws gmail +send --to [email protected] --subject 'Please review: Project Brief' --body 'I have shared the project brief with you: https://docs.google.com/document/d/DOC_ID'`

Security audits

SnykPASS
SocketPASS
Gen Agent Trust HubPASS