Recipe email drive link
Share a Google Drive file and email the link with a message to recipients.From its SKILL.md
npx -y skills add googleworkspace/cli --skill recipe-email-drive-linkAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.9 KB, 179 tokens by cl100k_base, as published. Nobody here has run it
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
- Find the file:
gws drive files list --params '{"q": "name = '\''Quarterly Report'\''"}' - Share the file:
gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "[email protected]"}' - 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'
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.