recipe-share-event-materials

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

Updated Nov 9, 2023
One-click install
npx skills add https://github.com/oresttokovenko/dot-files --skill recipe-share-event-materials-oresttokovenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recipe-share-event-materials
Source: https://github.com/oresttokovenko/dot-files/tree/main/chezmoi/dot_agents/skills/recipe-share-event-materials
Command: npx skills add https://github.com/oresttokovenko/dot-files --skill recipe-share-event-materials-oresttokovenko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually sharing meeting materials with every attendee of a calendar event is repetitive and error-prone. This recipe automates the process by reading the attendee list from a Google Calendar event and granting each person access to the relevant Google Drive files. ## Core Features & Use Cases - Attendee Retrieval: Fetches the full attendee list from a Google Calendar event using the gws CLI. - Automated Permission Grants: Creates reader permissions on a Drive file for each attendee email address. - Share Verification: Lists current file permissions in table format to confirm every attendee received access. - Use Case: Before a project kickoff meeting, share the agenda document with all 15 invitees in one workflow instead of adding each email manually in the Drive sharing dialog. ## Quick Start Share my Google Drive file with everyone invited to my next calendar event and verify the permissions were applied.

Frequently Asked Questions about recipe-share-event-materials

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I share a Google Drive file with all meeting attendees?

Fetch the event's attendee list with gws calendar events get, then run gws drive permissions create for each attendee email with the reader role. Finish by listing permissions to confirm everyone was granted access.

How to get attendees from a Google Calendar event using CLI?

Use gws calendar events get with the calendarId set to primary and the specific eventId. The response contains the attendees array with email addresses you can iterate over for sharing.

What permission role should I use when sharing meeting files?

This recipe grants the reader role, which lets attendees view but not edit the file. Change the role value in the permissions create call if attendees need commenter or writer access.

How do I verify a Google Drive file was shared correctly?

Run gws drive permissions list with the fileId and the table format flag. The output shows every permission entry, letting you confirm each attendee email appears with the expected role.

What tools are required to automate Google Calendar and Drive sharing?

You need the gws command-line tool plus the gws-calendar and gws-drive skills loaded. Without these prerequisites, the calendar lookup and permission creation commands will not execute.