---
id: ssh2-recipe-share-event-materials
name: "recipe-share-event-materials"
url: https://skills.yangsir.net/skill/ssh2-recipe-share-event-materials
author: googleworkspace
domain: ai-productivity-automation
tags: ["google-drive", "event-resources", "file-sharing", "google-calendar", "post-event-communication"]
install_count: 29600
rating: 4.60 (140 reviews)
github: https://github.com/googleworkspace/cli
---

# recipe-share-event-materials

> 将Google Drive中的活动相关文件，分享给Google日历活动的所有参与者。

**Stats**: 29,600 installs · 4.6/5 (140 reviews)

## Before / After 对比

### 活动资料自动分享给参会者，确保信息及时触达，极大提升效率与用户体验。

## Readme

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



---
*Source: https://skills.yangsir.net/skill/ssh2-recipe-share-event-materials*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh2-recipe-share-event-materials/markdown*