Skip to content

Calendar

Google Calendar tools — check availability, find free slots, and create, update, or delete events on connected Google accounts.

Full name: campaignstack_get_free_slots

google_integrations:read Read-only Idempotent

Find the next available time slots in the user’s Google Calendar. Fetches events for up to 14 days from fromDate, then returns the first N gaps that fit the requested duration. When businessHoursOnly is true (default), slots are restricted to the account’s configured scheduling hours (schedulingStartHour/schedulingEndHour, default 9 AM–6 PM) in the Google account’s timezone (auto-detected from the calendar on connect; falls back to UTC). Requires a Google account to be connected and linked to the workspace. If googleAccountId is omitted, uses the first connected Google account.

NameTypeRequiredDefaultDescription
workspaceIdstringNoWorkspace ID (defaults to the bound workspace)
googleAccountIdstringNoGoogle account ID to use. Defaults to the first connected Google account linked to the workspace.
fromDatestringYesStart of the search window (ISO 8601 string, e.g. ‘2026-06-17T00:00:00Z’). Slots earlier than this date are excluded.
durationMinutesintegerNo30Duration of each slot in minutes (default: 30)
countintegerNo3Number of free slots to return (default: 3)
businessHoursOnlybooleanNotrueIf true (default), only return slots within business hours (9 AM–6 PM in the Google account’s timezone, defaults to UTC if not set)

Full name: campaignstack_check_calendar_availability

google_integrations:read Read-only Idempotent

Check whether a specific time slot is available in the user’s Google Calendar. Returns { available, conflictingEvents } where conflictingEvents is a list of events overlapping the requested range (each with summary, start, end). Requires a Google account to be connected and linked to the workspace. If googleAccountId is omitted, uses the first connected Google account linked to the workspace.

NameTypeRequiredDefaultDescription
workspaceIdstringNoWorkspace ID (defaults to the bound workspace)
googleAccountIdstringNoGoogle account ID to use. Defaults to the first connected Google account linked to the workspace.
startTimestringYesStart of the time range to check (ISO 8601 string, e.g. ‘2026-06-17T14:00:00Z’)
endTimestringYesEnd of the time range to check (ISO 8601 string, e.g. ‘2026-06-17T15:00:00Z’)

Full name: campaignstack_create_calendar_event

google_integrations:write

Create a Google Calendar event and optionally invite attendees. When attendeeEmails are provided, Google sends invite emails automatically (sendUpdates=all). Requires a Google account to be connected and linked to the workspace. If googleAccountId is omitted, uses the first connected Google account linked to the workspace. Returns { eventId, htmlLink } on success.

NameTypeRequiredDefaultDescription
workspaceIdstringNoWorkspace ID (defaults to the bound workspace)
googleAccountIdstringNoGoogle account ID to use. Defaults to the first connected Google account linked to the workspace.
summarystringYesEvent title (min length: 1)
startTimestringYesEvent start time (ISO 8601, e.g. ‘2026-06-17T14:00:00Z’)
endTimestringYesEvent end time (ISO 8601, e.g. ‘2026-06-17T15:00:00Z’)
descriptionstringNoOptional event description / agenda
attendeeEmailsstring[]NoOptional list of attendee email addresses. Google Calendar sends invites automatically when sendUpdates=all.
locationstringNoOptional event location (address, room name, or video link)

Full name: campaignstack_update_calendar_event

google_integrations:write

Update (reschedule) an existing Google Calendar event. All fields are optional — only the provided fields are changed (PATCH semantics). When attendeeEmails are provided, they replace the existing attendee list and Google sends update notifications automatically (sendUpdates=all). Requires a Google account to be connected and linked to the workspace. If googleAccountId is omitted, uses the first connected Google account linked to the workspace. Returns { eventId, htmlLink } on success.

NameTypeRequiredDefaultDescription
workspaceIdstringNoWorkspace ID (defaults to the bound workspace)
googleAccountIdstringNoGoogle account ID to use. Defaults to the first connected Google account linked to the workspace.
eventIdstringYesGoogle Calendar event ID to update (min length: 1)
summarystringNoNew event title
startTimestringNoNew event start time (ISO 8601, e.g. ‘2026-06-17T14:00:00Z’)
endTimestringNoNew event end time (ISO 8601, e.g. ‘2026-06-17T15:00:00Z’)
descriptionstringNoNew event description / agenda
attendeeEmailsstring[]NoNew list of attendee email addresses (replaces existing attendees). Google Calendar sends update notifications automatically.
locationstringNoNew event location (address, room name, or video link)

Full name: campaignstack_delete_calendar_event

google_integrations:write Destructive Idempotent

Delete (cancel) a Google Calendar event. By default, cancellation notifications are sent to all attendees (sendNotifications=true). Requires a Google account to be connected and linked to the workspace. If googleAccountId is omitted, uses the first connected Google account linked to the workspace. Returns { deleted: true } on success.

NameTypeRequiredDefaultDescription
workspaceIdstringNoWorkspace ID (defaults to the bound workspace)
googleAccountIdstringNoGoogle account ID to use. Defaults to the first connected Google account linked to the workspace.
eventIdstringYesGoogle Calendar event ID to delete (min length: 1)
sendNotificationsbooleanNotrueIf true (default), Google sends cancellation notifications to all attendees.