Skip to content

Google Calendar Calendar operations#

使用此操作在 Google 日历中检查日历的可用性。有关 Google 日历节点的更多信息,请参阅 Google 日历

🌐 Use this operation to check availability in a calendar in Google Calendar. Refer to Google Calendar for more information on the Google Calendar node itself.

可用性(Availability)#

使用此操作检查日历中某个时间段是否可用。

🌐 Use this operation to check if a time-slot is available in a calendar.

请输入以下参数:

🌐 Enter these parameters:

  • 连接凭证:创建或选择现有的 Google 日历凭证
  • 资源:选择 日历
  • 操作:选择可用性
  • 日历:选择你想要查看的日历。选择 从列表中 从下拉列表中选择标题,或选择 按 ID 输入日历 ID。
  • 开始时间:你想要查看的时间段的开始时间。默认情况下,使用计算当前时间的表达式({{ $now }})。
  • 结束时间:你想要检查的时间段的结束时间。默认情况下,使用一个表达式计算从现在起一小时的时间({{ $now.plus(1, 'hour') }})。

选项(Options)#

  • 输出格式:选择可用性信息的格式:
    • 可用性:返回是否已经有事件与给定的时间段重叠。
    • 已预订时段:返回已预订的时段。
    • RAW:返回来自 API 的原始数据。
  • 时区:响应中使用的时区。默认使用 n8n 时区。

有关更多信息,请参考 Freebusy: 查询 | Google 日历 API 文档。

🌐 Refer to the Freebusy: query | Google Calendar API documentation for more information.