recipe-email-drive-link
tarafından Google
Share a Google Drive file and email the link with a message to recipients.
npx skills add https://github.com/googleworkspace/cli --skill recipe-email-drive-linkEmail 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'
Google tarafından daha fazla skill
gws-modelarmor-sanitize-response
Google
Google Model Armor: Bir model yanıtını Model Armor şablonu aracılığıyla temizleyin.
gws-people
Google
Google People: Manage contacts and profiles.
gws-shared
Google
gws CLI: Shared patterns for authentication, global flags, and output formatting.
gws-sheets
Google
Google Sheets: Elektronik tabloları okuyun ve yazın.
gws-sheets-append
Google
Google Sheets: Bir e-tabloya satır ekleyin.
gws-sheets-read
Google
Google Sheets: Bir e-tablodan değerleri okuyun.
gws-slides
Google
Google Slides: Sunumları okuyup yazın.
gws-tasks
Google
Google Tasks: Görev listelerini ve görevleri yönetin.