> For the complete documentation index, see [llms.txt](https://help.sesami.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sesami.co/zh-cn/apps-integrations/google-calendar.md).

# Google 日历

Sesami 会将预约同步到 Google 日历，因此您的团队可以在个人日程旁边查看这些约会。

## 工作原理

* Sesami 会在 Google 日历中为每个资源创建一个单独的日历
* 预约会显示为 **仅可查看** 事件——取消和改期必须通过 Sesami 进行
* **双向同步**：Sesami 事件会显示在 Google 日历中，而在 Google 日历中标记为“忙碌”的事件会阻止 Sesami 的可用时间
* 仅同步当前和未来的事件——过去的预约不会同步

## 启用 Google 日历同步

{% stepper %}
{% step %}
为该资源添加一个 Gmail 地址

在启用 Google 日历同步之前，请确保该资源在电子邮件字段中有一个有效的 Gmail 地址。

前往 Sesami → Resources → \[选择一个资源] → Basics，输入 Gmail 地址，然后点击 Save。

{% hint style="info" %}
**注意：** Google 日历同步仅支持 Gmail 账户。其他电子邮件提供商（如 Outlook、Yahoo 或自定义域名）无法连接。
{% endhint %}
{% endstep %}

{% step %}
连接 Google 日历

前往 Advanced → Google Calendar Sync，然后点击发送日历邀请

使用同一个 Gmail 账户完成 Google 授权流程。&#x20;

请务必授予所有请求的权限。
{% endstep %}

{% step %}
完成

该资源的预约现在将显示在 Google 日历中。
{% endstep %}
{% endstepper %}

<div><figure><img src="/files/561d08d9a340de37a94d04168f85f8ffe211059b" alt=""><figcaption></figcaption></figure> <figure><img src="/files/88d23a7910c0d8a0dc01c038cb31cb234ab4fb05" alt=""><figcaption></figcaption></figure> <figure><img src="/files/cee1ccac98b032312e8264ff6faea2ab84653180" alt=""><figcaption></figcaption></figure></div>

{% hint style="warning" %}
每个资源都必须连接到一个 **唯一的** Gmail 地址。你不能将同一个电子邮件同步到多个资源。
{% endhint %}

## 使用 Google 日历阻止可用时间

要使用 Google 日历在 Sesami 中屏蔽时间：

1. 在你的 **主日历** （在“我的日历”下）
2. 将事件状态设置为 **忙碌**

{% hint style="info" %}

* “其他日历”下的事件将 **不会** 阻止 Sesami 的可用时间
* 标记为“空闲”的事件将 **不会** 阻止 Sesami 的可用时间
  {% endhint %}

## 在多个资源之间共享日历

如果您需要经理或管理员在一个地方查看所有预约：

1. **汇总日历**：让每个资源将其 Google 日历连接到 Sesami，然后使用 [Google 日历共享](https://support.google.com/calendar/answer/37082) 将每个日历共享给一个中心账户
2. **使用 Zapier 自动化**：使用 Zapier 来 [在 Google 日历之间复制事件](https://zapier.com/apps/google-calendar/integrations/google-calendar) 这样预约就会显示在其他团队成员的主日历中

{% hint style="info" %}
日历共享和 Zapier 集成都在 Sesami 之外管理。我们可以帮助指导设置——联系 <help@sesami.co>.
{% endhint %}

## 故障排除

* **预约没有显示？** 请确认在登录 Google 时已授予所有权限。尝试断开后重新连接。
* **未同步到 Apple 设备？** 参见 [Google 日历与 macOS、iOS](/zh-cn/apps-integrations/google-calendar/google-calendar-with-macos-os-x-ios-iphone-ipad.md)

## 相关

* [Google 日历与 macOS、iOS（iPhone/iPad）](/zh-cn/apps-integrations/google-calendar/google-calendar-with-macos-os-x-ios-iphone-ipad.md) — 修复与 Apple 设备的同步
* [资源可用性](/zh-cn/yu-yue/availability/resource-availability.md) — 管理资源排期
* [通知邮件](/zh-cn/tong-zhi/notification-emails.md) — 电子邮件中的日历事件（.ics）附件


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.sesami.co/zh-cn/apps-integrations/google-calendar.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
