recipe-share-event-materials

$npx mdskill add googleworkspace/cli/recipe-share-event-materials

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

  • Automates sharing meeting materials with event attendees.
  • Depends on Google Workspace Calendar and Drive APIs.
  • Retrieves attendee list from a specified Calendar event.
  • Creates read-only file permissions for each attendee.

SKILL.md

.github/skills/recipe-share-event-materialsView on GitHub ↗
---
name: recipe-share-event-materials
description: "Share Google Drive files with all attendees of a Google Calendar event."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-calendar
        - gws-drive
---

# 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`

More from googleworkspace/cli