Skip to main content
googleCalendar.findAvailability turns free/busy data into available time slots.

Example

Inputs

Provide 1–50 entries in calendars, timeMin and timeMax as RFC 3339 timestamps, and durationMinutes from 1–1,440. stepMinutes controls the candidate-start increment and defaults to 15. limit defaults to 20 and accepts 1–1,000. timeZone is optional. Optional second argument { account } selects the Google Account.

Output

Returns Signal<Array<{ start: string; end: string; durationMinutes: number }>> in chronological order. Times are timestamps in ISO 8601 format. The action merges overlapping busy periods from all calendars before testing candidates. The action can return overlapping candidates when stepMinutes is shorter than durationMinutes.