recipe-batch-invite-to-event

Adds multiple attendees to an existing Google Calendar event and sends update notifications.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually inviting many attendees to an existing Google Calendar event one by one is repetitive and error-prone. This recipe batch-adds a list of attendees to a single event and notifies everyone in one operation. ## Core Features & Use Cases - Batch Attendee Addition: Patch an existing event with a full list of attendee email addresses in a single API call. - Automatic Notifications: Sends update notifications to all attendees using the sendUpdates parameter. - Verification Step: Re-fetches the event to confirm the attendee list was updated correctly. - Use Case: A meeting organizer needs to add ten new team members to a recurring sprint review. Provide the event ID and email list, and the recipe updates the event and notifies everyone. ## Quick Start Add [email protected], [email protected], and [email protected] as attendees to my Google Calendar event with ID abc123 and send them invitations.

Frequently Asked Questions about recipe-batch-invite-to-event

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

FAQPage Schema
How do I add multiple attendees to a Google Calendar event at once?

Use the Google Calendar events patch API with an attendees array containing each email address. Set sendUpdates to all so every attendee receives an invitation notification in a single request.

How to send Google Calendar invitations when adding attendees via API?

Include the sendUpdates parameter set to all in the events patch request parameters. This triggers Google Calendar to email invitation notifications to every attendee in the updated list.

Does patching attendees replace the existing attendee list?

Yes, the attendees field in a patch request replaces the existing list. Fetch the event first with events get, merge existing attendees with new ones, then patch to avoid removing current participants.

What tools are required to batch invite attendees to a calendar event?

This recipe requires the gws command-line tool and the gws-calendar skill, which wrap the Google Calendar API. Both must be installed and authenticated before running the get, patch, and verify steps.

Why are attendees not receiving calendar invitation emails?

Notifications are only sent when sendUpdates is set to all or externalOnly in the patch request. If the parameter is omitted or set to none, attendees are added silently without email notifications.