为聊天机器人和AI代理集成Calendly
关于此集成
Calendly 是我们最实用的日程安排集成之一。通过将聊天机器人与 Calendly 连接,构建者可以让用户直接在聊天中预订会议,无需切换应用。
该集成通过将聊天机器人流程与 Calendly 日历关联实现,因此当用户请求会议时,聊天机器人会检查可用时间并分享预订选项。
有了这种设置,日程安排就成为对话的一部分——用户可以选择时间、确认会议,并通过聊天机器人自动收到提醒。
主要功能
- 在聊天中分享可用时间段
- 直接通过聊天机器人对话预订会议
- 自动与 Calendly 日历同步
- 向用户发送预订确认信息
- 通过聊天触发提醒和后续跟进
- 通过聊天机器人更新或取消预约
- 在安排前收集用户信息
- 将日程安排连接到工作流或CRM
常见问题
聊天机器人如何检查我在 Calendly 上的可用时间?
使用 Calendly 的 API 获取特定事件类型的可用时间段,然后在聊天中展示这些时间。通过个人访问令牌或 OAuth 认证,调用 event_type_available_times 获取7天内的时间,并将这些时间返回给用户。
如何将聊天机器人连接到我的 Calendly 账户?
在你的机器人中完成 Calendly 认证(PAT 或 OAuth),选择你想公开的事件类型,并设置 webhook 订阅,这样机器人就能知道会议何时创建或取消。如果你使用预构建的 Calendly 集成(如在 Botpress、Landbot 或 Intercom 上),这个过程会更简单。
如何通过聊天机器人发送预订确认和提醒?
Calendly 会自动发送确认信息(如日历邀请或邮件),并可发送提醒(付费计划支持邮件/SMS)。如果需要,你的机器人也可以重复确认详情并添加自己的聊天提醒。
如何通过聊天机器人更新或取消 Calendly 会议?
展示 Calendly 为每次预订生成的重新安排/取消链接,或引导用户查看确认邮件;你的 webhook 会在事件变更时通知机器人,以便更新对话或CRM。
如何在 Calendly 安排会议前收集用户信息?
在聊天中收集信息(姓名、邮箱、自定义回答),并通过链接或嵌入参数预填到 Calendly(包括对邀请者问题如 a1…a10 的回答)。这样可以减少阻力并保持记录整洁。
用户如何通过聊天机器人对话预订会议?
聊天机器人收集基本信息,展示可用时间段,并将用户引导到你的日程工具确认预订。随后机器人会分享确认信息并保存事件详情以便后续跟进。
如何通过聊天机器人将日程安排连接到我的CRM?
你可以通过同步预订事件将日程安排连接到CRM。当会议被创建或更改时,聊天机器人会将姓名、邮箱和时间等信息传递到CRM,作为联系人记录和日历活动。
## What it is
A simply great integration to connect your Calendly account to your Botpress Bot. Send meeting invites to users and receive an event when they schedule directly in your bot.
## How it works
When enabling the integration, a Webhook Subscription is created for your Calendly account using the provided `Access Token`. This webhook sends an event to the integration when an invitee signs up for one of your events.
The `Schedule Calendly Event` action can be used to create event link. It requires a Conversation Id and Calendly Event URL. It uses the URL to match an event from your Calendly and creates a new link with your Conversation Id embeded inside. This Id is then used to trigger the `Calendly Event` inside the conversation so that your bot can respond to the event.
`Conversation Id` is a unique identifier for each conversation. You can pass into this field to embed your id. When receiving a Calendly Event you can use in the Advanced Options `Conversation ID` field of the `Calendly Event Trigger`. This will pull the event to the appropriate conversation.
You can see the full integration code at: https://github.com/SimplyGreatBots/Calendly
## Tutorial Video
[](https://youtu.be/0jdsGJhoQfo)
#### Pre-requisites
Receiving events from Calendly requires a `Standard` or higher subscription to have access to webhooks required for this integration.
#### Calendly Setup
1. Go to your [Calendly Integrations Page](https://calendly.com/integrations) and click on `API and Webhooks`.
2. Click on `Generate New Token`, choose a name, and click `Create Token`.
3. After the token is created, copy, and save it in a safe location. You will need in step 3 of the Botpress setup.
#### Botpress Setup
1. Click `Install` on the top right and select your bot.
2. Click the popup that appears to configure your integration.
3. Add your Calendly access token to the `Access Token` field.
4. Enable and save the integration.