Log in

recipe-email-drive-link

Vercel
All-time installs
28.7K

Share a Google Drive file and email the link with a message to recipients.

Other options

Summary

Share Google Drive files and email access links to recipients in a single workflow.

  • Combines Google Drive file sharing with Gmail delivery in three sequential steps: locate files, grant access permissions, and send notification emails
  • Requires both gws-drive and gws-gmail skills to be loaded before execution
  • Supports role-based sharing (reader, commenter, editor) and targets specific email addresses with custom messages

Raw SKILL.md

963 bytes
---
name: recipe-email-drive-link
description: "Share a Google Drive file and email the link with a message to recipients."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-drive
        - gws-gmail
---

# Email a Google Drive File Link

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-drive`, `gws-gmail`

Share a Google Drive file and email the link with a message to recipients.

## Steps

1. Find the file: `gws drive files list --params '{"q": "name = '\''Quarterly Report'\''"}'`
2. Share the file: `gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "[email protected]"}'`
3. Email the link: `gws gmail +send --to [email protected] --subject 'Quarterly Report' --body 'Hi, please find the report here: https://docs.google.com/document/d/FILE_ID'`

Security audits

SnykPASS
SocketPASS
Gen Agent Trust HubPASS