Skip to content
Marketplace

recipe-share-event-materials

by googleworkspace

Share Google Drive files with all attendees of a Google Calendar event.

Overview

SKILL.mdRead at a3768d0

Share Files with Meeting Attendees

PREREQUISITE: Load the following skills to execute this recipe: gws-calendar, gws-drive

Share Google Drive files with all attendees of a Google Calendar event.

Steps

  1. Get event attendees: gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'
  2. Share file with each attendee: gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "[email protected]"}'
  3. Verify sharing: gws drive permissions list --params '{"fileId": "FILE_ID"}' --format table

Files 1 file

Install it by hand

Deska runs this for you, for every agent you pick. To run it yourself in a terminal:

npx skills add googleworkspace/cli --skill recipe-share-event-materials

More from googleworkspace

All skills by googleworkspace