Skip to content

Google 日历日历操作#

¥Google Calendar Calendar operations

使用此操作检查 Google 日历中某个日历的可用时间。有关 Google Calendar 节点本身的更多信息,请参阅 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:

¥Credential to connect with: Create or select an existing Google Calendar credentials.

  • 资源:选择“日历”。

¥Resource: Select Calendar.

  • 操作:选择“可用性”。

¥Operation: Select Availability.

  • 日历:选择要进行比对的日历。选择“从列表”从下拉列表中选择标题,或选择“通过 ID”输入日历 ID。

¥Calendar: Choose a calendar you want to check against. Select From list to choose the title from the dropdown list or By ID to enter a calendar ID.

  • 开始时间:你要检查的时间段的开始时间。默认情况下,此选项使用一个表达式,计算结果为当前时间({{ $now }})。

¥Start Time: The start time for the time-slot you want to check. By default, uses an expression evaluating to the current time ({{ $now }}).

  • 结束时间:你要检查的时间段的结束时间。默认情况下,此选项使用一个表达式,计算结果为当前时间({{ $now.plus(1, 'hour') }})。

¥End Time: The end time for the time-slot you want to check. By default, uses an expression evaluating to an hour from now ({{ $now.plus(1, 'hour') }}).

选项#

¥Options

  • 输出格式:选择可用性信息的格式:

¥Output Format: Select the format for the availability information:

  • 可用性:返回给定时间段内是否存在重叠事件。

    ¥Availability: Returns if there are already events overlapping with the given time slot or not.

  • 已预约时段:返回已预订的时段。

    ¥Booked Slots: Returns the booked slots.

  • RAW:返回 API 的原始数据。

    ¥RAW: Returns the RAW data from the API.

  • 时区:响应中使用的时区。默认情况下,此选项使用 n8n 时区。

¥Timezone: The timezone used in the response. By default, uses the n8n timezone.

请参阅 空闲/忙碌状态:查询 | Google 日历 API 文档了解更多信息。

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