Google Calendar – Add Guest

Overview
The “Add Guest” script is a Google Apps Script project that automates adding attendees to Calendar events. It uses a service account with OAuth2 to manage multiple user calendars, simplifying event coordination in Google Workspace.
Features
- Service Account: Runs under a service account to access multiple calendars.
- OAuth2 Flow: Handles authentication securely.
- Bulk Addition: Can add many guests across events programmatically.
- Admin Tool: Suitable for admins managing company events.
Tech Stack
- Language: JavaScript (Apps Script environment)
- APIs: Google Calendar API with OAuth2 scopes
- Tools: clasp (for script deployment)
Usage
- Open Google Apps Script and load the project.
- Set up OAuth2 scopes (Calendar API).
- Deploy as a service account-enabled web app or run the script manually.
- Provide event IDs and guest emails as input.
- Run the script to see guests added to specified events.