N8N中文教程
集成节点/Built in_nodes/Actions/Google_Calendar

Google Calendar 日历操作#

使用此操作来检查 Google Calendar 中日历的可用性。有关 Google Calendar 节点本身的更多信息,请参考 Google Calendar。

可用性(Availability)#

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

输入以下参数:

  • Credential to connect with : 创建或选择现有的 Google Calendar 凭据。
  • Resource : 选择 Calendar
  • Operation : 选择 Availability
  • Calendar : 选择要检查的日历。选择 From list 从下拉列表中选择日历标题,或选择 By ID 手动输入日历 ID。
  • Start Time : 要检查的时间段的开始时间。默认使用表达式表示当前时间 ({{ $now }})。
  • End Time : 要检查的时间段的结束时间。默认使用表达式表示一小时后的时间 ({{ $now.plus(1, 'hour') }})。

选项(Options)#

  • Output Format : 选择可用性信息的返回格式:
    • Availability : 返回指定时间段内是否已有事件冲突。
    • Booked Slots : 返回已被占用的时间段(booked slots)。
    • RAW : 返回 API 的原始数据(RAW data)。
  • Timezone : 响应中使用的时区。默认使用 n8n 的时区设置。

更多详情,请参考 Freebusy: query | Google Calendar API 文档。

聊天查看文档 本页面的反馈为:!Thumbs up有帮助 !Thumbs down无帮助 感谢您的反馈! 提交 上一页 Google Calendar 下一页 事件操作(Event operations) 由 Material for MkDocs Insiders 提供支持