Use cases → Scheduling
Block time across multiple user calendars with a service account
Reserve meeting slots on behalf of several users using domain-wide delegation, with reliable tracking of which calendars were actually blocked.
| Who it is for | Teams automating resource booking or coordination across multiple users in the same domain. |
|---|---|
| APIs | Calendar API |
| Typical scopes | calendar |
The problem
Manually coordinating availability across a group is slow and error-prone. Automating blocking on behalf of users avoids double-bookings and ensures everyone is reserved, but only if every calendar reflects the intended hold.
How it works
- Impersonate each target user via the service account using domain-wide delegation.
- Insert the event directly to each user's primary calendar, setting the organiser as the service account.
- Track the eventId returned for each insertion and log it with the corresponding user.
- Handle insert failures and partial success by clearly surfacing which calendars were not blocked.
What changes
All specified users have the time reliably held in their calendars, and failures or partial bookings are logged for follow-up.
Questions people ask
Can I use a single event for all users?
No, impersonation means you must insert separately into each user's calendar. There is no cross-calendar atomicity, and events do not automatically stay in sync.
What if a user's calendar is delegated to someone else?
Delegation does not affect domain-wide delegation: as long as your service account is configured, you can insert directly regardless of user-level delegates.
Want this built?
This is a pattern we run in production. We will set up the delegation and build this on top of it — $500 per hour, most of it working the same day.
Talk to us Or read the setup guideRelated use cases
Build a real picture of team availability
Read calendars across the domain to answer who is free, who is overloaded and where the week actually went.
Turn a finished meeting into follow-up automatically
Detect that a meeting happened, pull the notes, and draft the follow-up before anyone opens their laptop.
Turn a booking into a record everywhere it matters
When a meeting is booked, create the record, the folder and the confirmation in one pass.