Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Share a Google Drive file with a recipient and email them the link with a custom message.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: recipe-email-drive-link3description: "Share a Google Drive file and email the link with a message to recipients."4metadata:5version: 0.22.56openclaw:7category: "recipe"8domain: "productivity"9requires:10bins:11- gws12skills:13- gws-drive14- gws-gmail15---1617# Email a Google Drive File Link1819> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-drive`, `gws-gmail`2021Share a Google Drive file and email the link with a message to recipients.2223## Steps24251. Find the file: `gws drive files list --params '{"q": "name = '\''Quarterly Report'\''"}'`262. Share the file: `gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "[email protected]"}'`273. 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'`2829