﻿# How a scheduling agent confirms meetings across busy calendars

Build a scheduling worker that reads availability, resolves time zone and identity, and verifies the event and invitations after calendar conflicts.

Author: Retrivium team
Updated: 2026-11-08
Canonical URL: https://retrivium.ai/journal/startup-worker-calendar-slot-confirmation/
Language: en

Booking a meeting is a useful first digital job for a service startup. The worker can propose options, wait for acceptance, and record the event with an accurate guest list. Availability can change between the initial lookup and creation, especially when several people book the same team. Make collision handling part of the product.

## Treat availability as a snapshot

Google Calendar’s FreeBusy endpoint returns busy intervals for specified calendars and can report errors per calendar. Preserve the calendar IDs, query time and region. A missing result from a required attendee is unknown availability. Offer alternatives, ask the calendar owner to help, or hold the proposed slot until the relevant data can be read. [Google Calendar FreeBusy API](https://developers.google.com/workspace/calendar/api/v3/reference/freebusy/query).

## Lock down what the guest approved

Record the proposed time zone, start, end, calendar, guests and booking purpose. For example, a candidate accepts 10:00 in Berlin and a manager later changes the duration. Verify the new time range and ask for renewed approval if the guest-facing agreement changes. Format the confirmation in the recipient’s chosen zone.

## Verify creation and notifications separately

Google documents event creation and a guest notification setting on the events insert endpoint. Read the resulting event and verify the attendees, room and chosen notification mode. Treat a guest RSVP as a distinct status that may arrive later. If event creation times out, look for the existing booking before issuing another invite. [Google Calendar events insert](https://developers.google.com/workspace/calendar/api/v3/reference/events/insert).

## Handle collision after a successful write

Check live availability again as close as possible to creation. Protect concurrent bookings through one internal reservation service where the startup owns the resource. External calendars may still change. If a conflict appears after creation, keep the record linked to its existing guests and send the operator a reschedule task with the reason.

## Measure confirmed attendance and clean rescheduling

Count duplicate invitations, conflicts, time to confirmed booking and operator minutes per reschedule. Include declines and unresolved requests in the pilot report. Test an external calendar error and two simultaneous bookings in the same room. A useful launch gate is that every booking attempt has a verifiable event or an owned follow-up.

## Related reading

- [A global agent limit does not specify scheduling fairness](/journal/frontier-swarm-concurrency-slot-fairness/)
- [Space recurring work: verify the schedule and the actual update](/journal/frontier-space-recurrence-saved-schedule-proof/)
