# Recipe Share Doc And Notify > Share a Google Docs document with edit access and email collaborators the link. Source: https://skillsagentes.com/skills/googleworkspace/cli/recipe-share-doc-and-notify Repository: https://github.com/googleworkspace/cli Author: googleworkspace License: Apache-2.0 Updated: hace 4 meses Context cost: 20 tok installed, 279 tok once triggered, 279 tok with every bundled file Bundle: 1 file, 1 KB Permissions requested: none declared ## Install ```bash npx -y skills add googleworkspace/cli --skill recipe-share-doc-and-notify --agent claude-code ``` ## What it does - Busca un documento de Google Docs por nombre usando `gws drive files list` - Comparte el documento con acceso de editor a un usuario mediante `gws drive permissions create` - Envía un email al colaborador con el enlace del documento usando `gws gmail +send` ## Use it when - Necesitas compartir un Google Doc con acceso de edición y avisar por correo al colaborador ## What triggers it - "Comparte el documento 'Project Brief' con reviewer@company.com y avísale por correo" - "Dale acceso de editor a este Google Doc y envíale el enlace por email" ## Before you install - Requiere el binario `gws` y tener cargadas las skills `gws-drive`, `gws-docs` y `gws-gmail`. ## Files - SKILL.md — 1 KB ## SKILL.md Reproduced verbatim from googleworkspace/cli under Apache-2.0. This section is the upstream document and is in English. # 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": "reviewer@company.com"}'` 3. 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'` --- Skills Agentes — https://skillsagentes.com/skills/googleworkspace/cli/recipe-share-doc-and-notify