360 Secure SkillHub
360 安全技能中心

Calendly Quick Book

该 Skill 接收姓名、邮箱、时区和期望时间等自然语言指令,调用 Calendly API 获取当前用户、事件类型与可用时段,并提交预约请求,返回预约成功信息或就近时段建议。使用前需配置 Calendly 令牌与用户名。

分类:协作
dompi123
dompi123
热度 49.33
最近更新 2026-05-11 15:54:35

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dompi123/calendly-quick-book
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
calendly-quick-book
description
Book Calendly meetings instantly. Triggers on "book", "schedule calendly", "calendly book", or any request to book a meeting without sending a link.
user-invocable
true
metadata
{"openclaw":{"always":true,"emoji":"📅","requires":{"env":["CALENDLY_API_TOKEN"]}}}

Calendly Quick Book

Book Calendly meetings via natural language. No tab switching, no link sending.

Default Configuration

Setting Value
Default Calendly Link https://calendly.com/YOUR_USERNAME
Calendly Username YOUR_USERNAME

Note: Update the values above with your own Calendly username after installation.

Commands

Input Action
book [name] [email] [timezone] [time] Book a meeting
calendly book [name] [email] [timezone] [time] Book a meeting

Input Fields

Field Required Example
Name Yes John Smith
Email Yes john@acme.com
Timezone Yes EST, PST, UTC
Time Yes tomorrow 2pm

Timezone Mapping

Input IANA Format
EST/EDT America/New_York
CST/CDT America/Chicago
MST/MDT America/Denver
PST/PDT America/Los_Angeles
GMT/UTC UTC

API Workflow

Step 1: Get Current User

curl -s "https://api.calendly.com/users/me" \
  -H "Authorization: Bearer $CALENDLY_API_TOKEN"

Step 2: Get Event Types

curl -s "https://api.calendly.com/event_types?user={USER_URI}" \
  -H "Authorization: Bearer $CALENDLY_API_TOKEN"

Step 3: Get Available Times

curl -s "https://api.calendly.com/event_type_available_times?event_type={EVENT_TYPE_URI}&start_time={START_UTC}&end_time={END_UTC}" \
  -H "Authorization: Bearer $CALENDLY_API_TOKEN"

Step 4: Create Booking

curl -s -X POST "https://api.calendly.com/invitees" \
  -H "Authorization: Bearer $CALENDLY_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "event_type": "{EVENT_TYPE_URI}",
    "start_time": "{TIME_UTC}",
    "invitee": {
      "name": "{NAME}",
      "email": "{EMAIL}",
      "timezone": "{TIMEZONE_IANA}"
    }
  }'

Response Format

Success

✅ Meeting Booked!

📅 [Date]
⏰ [Time] [Timezone]
👤 [Name] ([Email])
📍 Calendar invite sent automatically

No Availability

⚠️ No availability at [time]

Nearest slots:
1. [Option 1]
2. [Option 2]
3. [Option 3]

Errors

Error Response
Invalid email Ask to confirm email
Token expired Direct to Calendly settings
No event types Direct to create one in Calendly