Gworkspace Recipe Share Event Materials

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

pyfagorass Updated

File contents

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": "attendee@company.com"}'
  3. Verify sharing: gws drive permissions list --params '{"fileId": "FILE_ID"}' --format table

pyfagorass/bookofspells/tree/main/skills/gworkspace/recipe-share-event-materials commit e77dd2d8c8

Frequently asked questions

npx skillmds@latest add pyfagorass/gworkspace-recipe-share-event-materials