Recipe Share Event Materials

by googleworkspacea3768d0e82adNo licenseListed Oct 8, 2026Updated Oct 8, 2026

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

Instructions onlyProductivity & Workflow
AI-generated overview

Shares Google Drive files with all attendees of a Google Calendar event using the gws CLI.

What it does
This recipe describes a three-step procedure for granting Google Drive file access to the attendees of a Google Calendar event. It retrieves the attendee list from a calendar event, creates reader permissions on a specified file for each attendee, and then lists the file's permissions to verify the sharing. It produces shared-file permissions rather than any file or document itself.
When to use it
Use it when you need to distribute a Drive file to everyone invited to a specific calendar event, such as sharing meeting materials with participants. It fits situations where the attendee list already exists in Google Calendar and access should be granted per person.
Requirements
Requires the gws command-line tool with calendar and drive capabilities, plus the gws-calendar and gws-drive skills. It needs access to Google Calendar and Google Drive, including a calendar ID, event ID, file ID, and attendee email addresses. It ships no scripts; it is instructions only.

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

Source and attribution

Source:googleworkspace/cliinskills/recipe-share-event-materialsat commita3768d0

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal