> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nixflex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Google Calendar hours and invitations

> Save Google Calendar time zone, seven-day hours, slot length and invitation preferences with explicit replacement and delivery rules.

**FIXED · call** For new Google Calendar or Cal.com voice bookings, collect spelled name and email separately. Finish the combined read-back and get a later clear yes before the write, even with require\_booking\_confirmation=false. To reschedule or cancel an existing Cal.com appointment that changed across lookups, read back the current target in full and get a fresh yes. Google Calendar skips this; its moves and cancels follow require\_booking\_confirmation. Confirm success only after the calendar write succeeds. SMS uses its own flow.

**NOT OFFERED → do this instead · number** The booking zone cannot change general call time. Set calcom\_timezone\_override on the number to an IANA zone, or null to inherit. Cal.com uses number → agent → saved connection → Europe/London. With a booking context, read effective\_calcom\_timezone and effective\_calcom\_timezone\_source. Google Calendar keeps its own number-calendar setting.

**YOU CAN CHANGE · number** Supported Google Calendar settings include availability hours, timezone and invitation behaviour. These configure that number’s booking calendar. `timezone`, `hours`, `slot_minutes`, `calendar_id`, `send_invites`.

**SCOPE · number** For an owned number assigned to an agent, send only return\_url to start Google Calendar consent. Open the returned url for the calendar owner. A competing calendar is refused. Read the number’s status after consent to confirm connection.

[Read the compact AI rules](https://docs.nixflex.com/ai-rules.md#bookings-calendars)

Set the availability and invitation rules for a connected Google Calendar number, then read back the saved configuration.

Scope: **Connected owned number** · Hours: **Complete seven-day map** · Invitations: **Boolean preference**

**The important part**

* A supplied hours object replaces all seven days; overnight intervals are refused.
* Omitted fields retain their saved values.
* send\_invites requests Google notifications; it does not confirm inbox delivery or notify the owner separately.

[Business guide](https://docs.nixflex.com/guides/business/google-calendar.md) · [API reference](https://docs.nixflex.com/api-reference/introduction.md) · [Glossary](https://docs.nixflex.com/guides/glossary.md)

## Read connection status

Complete the [Google Calendar connection](https://docs.nixflex.com/actions/google-calendar.md) first and read its current status. `needs_reconnect:true` requires renewed consent; reconnect preserves business settings. A failed status check leaves connection state unknown rather than proving disconnection.

An explicit per-number IANA time zone wins; older saved settings can inherit the agent’s time zone. Use the intended calendar zone before interpreting local opening times.

## Prepare a focused settings change

Use [PATCH Google Calendar settings](https://docs.nixflex.com/api-reference/integration-settings/google-calendar-settings.md). Send one or more documented fields. This complete example shows a seven-day map and an explicit invitation choice:

```json theme={"dark"}
{
  "timezone":"Europe/London",
  "hours":{
    "monday":["09:00","17:00"],
    "tuesday":["09:00","17:00"],
    "wednesday":["09:00","17:00"],
    "thursday":["09:00","17:00"],
    "friday":["09:00","17:00"],
    "saturday":null,
    "sunday":null
  },
  "slot_minutes":30,
  "calendar_id":"primary",
  "send_invites":true
}
```

Each day is null when closed or exactly an opening/closing pair in `HH:MM` form. Closing must be later on the same day. Valid slot lengths are 15, 30, 45 and 60 minutes. Omitting `hours` keeps the saved map; supplying it replaces the entire map.

## Choose notification behaviour

`send_invites` is a JSON boolean. Existing connections without a stored value default to true. Omit the field to preserve its current value; strings such as `"false"`, null and numbers are refused.

When enabled, Google is asked to email the caller an invitation, update or cancellation. Google controls delivery. The engine does not add the owner as an attendee or send a separate owner email. When false, no Google notification is requested.

Calendar notification and an in-call text are separate outcomes. A successful booking does not confirm that an SMS was accepted or an email reached an inbox.

## Save and verify

Submit once, then read the returned safe settings. On a lost response, read the current configuration before repeating. Test a permitted slot and a closed period in a controlled booking flow, including full-name spelling, email-local-part spelling, a spoken domain, and one combined read-back followed by one clear yes for a new voice booking. SMS and existing-booking changes keep their current flow.

| Result | Recovery |
| - | - |
| `invalid_hours` | Supply all seven days with valid same-day intervals. |
| `invalid_timezone` | Use the intended valid IANA zone. |
| Invalid invitation value | Send true or false as a JSON boolean. |
| Calendar access expired | Reconnect deliberately and retain the business settings. |

* [Confirm the person and booking action](https://docs.nixflex.com/actions/booking-confirmation.md)
* [Troubleshoot booking outcomes](https://docs.nixflex.com/guides/developer/bookings/troubleshooting.md)
* [Read post-call booking results](https://docs.nixflex.com/guides/developer/call-history.md)

## Related dashboard and AI tasks

* [Manage Google Calendar with your AI assistant](https://docs.nixflex.com/ai-tools/calendar-settings.md)
* [Change Google Calendar hours and invitations](https://docs.nixflex.com/guides/business/google-calendar/change-settings.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.