--- id: googleworkspace/cli/recipe-share-event-materials version: "551eb07b" license: Apache-2.0 install: manual updated: 2026-07-22 --- # recipe-share-event-materials — This recipe automates file distribution by retrieving attendees from a Google Calendar event and granting them access to specified Google Drive files. It uses the gws-calendar and gws-drive skills to fetch event details and manage sharing permissions. Publisher: googleworkspace · Stars: 30031 · Updated: 2026-07-22 Install (manual): `git clone https://github.com/googleworkspace/cli` ## SKILL.md # 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` [View on SkillFed](https://skillfed.io/googleworkspace/cli/recipe-share-event-materials) · [View on GitHub](https://github.com/googleworkspace/cli)