recipe-share-event-materials
Share event-related files from Google Drive with all participants of a Google Calendar event.
npx skills add https://github.com/googleworkspace/cli --skill recipe-share-event-materialsBefore / After Comparison
1 组After each event, I used to manually look up the participant list in Google Calendar, then individually or in batches set file sharing permissions in Google Drive, and send notification emails. This was not only time-consuming but also risked delayed information delivery due to potential oversights.
Now, with just a simple command, the system automatically identifies all participants in Google Calendar and shares relevant event materials from Google Drive with them in one click. This ensures everyone receives the necessary information promptly, significantly boosting efficiency and user experience.
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
- Get event attendees:
gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}' - Share file with each attendee:
gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "attendee@company.com"}' - Verify sharing:
gws drive permissions list --params '{"fileId": "FILE_ID"}' --format table
User Reviews (0)
Write a Review
No reviews yet
Statistics
User Rating
Rate this Skill