recipe-share-event-materials▌
googleworkspace/cli · updated Apr 8, 2026
Automatically share Google Drive files with all attendees of a Calendar event.
- ›Requires gws-calendar and gws-drive skills as dependencies
- ›Retrieves event attendee list from Google Calendar, then grants each attendee reader access to specified Drive files
- ›Includes verification step to confirm sharing permissions were applied successfully
1d:["$","div",null,{"className":"prose prose-invert max-w-none prose-headings:font-semibold prose-headings:tracking-tight prose-h1:text-4xl prose-h1:mb-2 prose-h2:text-2xl prose-h2:mb-2 prose-h3:text-lg prose-h3:mb-2 prose-p:text-muted-foreground prose-li:text-muted-foreground prose-code:bg-muted prose-code:text-foreground prose-code:px-1 prose-code:py-0.5 prose-code:rounded-sm prose-code:text-sm prose-code:before:content-none prose-code:after:content-none prose-pre:bg-muted prose-pre:text-foreground prose-pre:border prose-pre:border-border prose-pre:rounded-md [&_table]:!border-[color:var(--border)] [&_th]:!border-[color:var(--border)] [&_td]:!border-[color:var(--border)]","dangerouslySetInnerHTML":{"__html":"<h1>Share Files with Meeting Attendees</h1>\n<blockquote>\n<p><strong>PREREQUISITE:</strong> Load the following skills to execute this recipe: <code>gws-calendar</code>, <code>gws-drive</code></p>\n</blockquote>\n<p>Share Google Drive files with all attendees of a Google Calendar event.</p>\n<h2>Steps</h2>\n<ol>\n<li>Get event attendees: <code>gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'</code></li>\n<li>Share file with each attendee: <code>gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "attendee@company.com"}'</code></li>\n<li>Verify sharing: <code>gws drive permissions list --params '{"fileId": "FILE_ID"}' --format table</code></li>\n</ol>"}}]