Zoom + Google Calendar 📹
Create Zoom meetings via API and attach them to Google Calendar events — identical to the Zoom for Google Workspace add-on UI.
Quick Usage
CODEBLOCK0
Parameters:
| Param | Description | Example |
|---|
| INLINECODE0 | Google Calendar event ID | INLINECODE1 |
| INLINECODE2 |
Meeting title |
"Team Meeting" |
|
start_time | ISO format, no timezone (Jerusalem assumed) |
"2026-03-01T11:50:00" |
|
duration | Minutes (optional, default 60) |
45 |
Output: Join URL, Meeting ID, Password + event patched automatically.
Typical Workflow
- 1. Create calendar event with INLINECODE8
- Run
zoom_meeting.sh with the event ID - Done — conferenceData with icon, video link, and notes are set
Critical Rules
| Rule | Detail |
|---|
| iconUri | Use EXACTLY the URL in the script — official Zoom Marketplace icon |
| entryPoints |
ONLY
video — no phone, no SIP |
|
passcode | Not
pin — field name matters |
|
meetingCode | Include the meeting ID here too |
|
notes | Use
<br /> for line breaks (not
\n) |
|
description | Leave empty — don't duplicate info |
|
location | Leave empty — Zoom link lives in conferenceData |
|
Default | Do NOT add Zoom unless explicitly requested |
Auth Setup
Zoom (Server-to-Server OAuth)
Credentials: .credentials/zoom.json
CODEBLOCK1
Create at marketplace.zoom.us → Develop → Server-to-Server OAuth.
Scopes: meeting:write:admin, meeting:read:admin.
Google Calendar
Uses gog CLI auth. The script handles token export + refresh automatically.
Required env vars:
- -
GOG_KEYRING_PASSWORD — keyring password for gog CLI - INLINECODE21 — Google account email (e.g.
user@gmail.com)
Required files:
- -
$HOME/.config/gogcli/credentials.json — Google OAuth client credentials (created by gog auth) - Override path with
GOG_CREDENTIALS env var
Required CLI tools: gog, jq, curl, INLINECODE29
Zoom + Google Calendar 📹
通过API创建Zoom会议并将其附加到Google日历事件中——与Zoom for Google Workspace插件的UI完全相同。
快速使用
bash
bash skills/zoom-calendar/scripts/zoommeeting.sh id> 会议标题 2026-03-01T11:50:00 60
参数说明:
| 参数 | 描述 | 示例 |
|---|
| event_id | Google日历事件ID | dgth9d45bb93a0q7ohfnckq88k |
| topic |
会议标题 | 团队会议 |
| start_time | ISO格式,不包含时区(默认耶路撒冷时区) | 2026-03-01T11:50:00 |
| duration | 时长(分钟,可选,默认60) | 45 |
输出: 加入链接、会议ID、密码 + 事件自动更新。
典型工作流程
- 1. 使用gog calendar create创建日历事件
- 使用事件ID运行zoom_meeting.sh
- 完成——会议数据包含图标、视频链接和备注已自动设置
关键规则
| 规则 | 详情 |
|---|
| iconUri | 必须使用脚本中的确切URL——官方Zoom市场图标 |
| entryPoints |
仅限video——不包含电话和SIP |
|
passcode | 字段名为passcode而非pin |
|
meetingCode | 此处也需包含会议ID |
|
notes | 使用
换行(不要使用\n) |
|
description | 留空——不要重复信息 |
|
location | 留空——Zoom链接位于conferenceData中 |
|
默认 | 除非明确要求,否则不要添加Zoom |
认证设置
Zoom(服务器到服务器OAuth)
凭证文件:.credentials/zoom.json
json
{accountid: ..., clientid: ..., client_secret: ...}
在marketplace.zoom.us → 开发 → 服务器到服务器OAuth中创建。
权限范围:meeting:write:admin、meeting:read:admin。
Google日历
使用gog CLI认证。脚本会自动处理令牌导出和刷新。
必需的环境变量:
- - GOGKEYRINGPASSWORD — gog CLI的密钥环密码
- GOG_ACCOUNT — Google账户邮箱(例如user@gmail.com)
必需的文件:
- - $HOME/.config/gogcli/credentials.json — Google OAuth客户端凭证(由gog auth创建)
- 可通过GOG_CREDENTIALS环境变量覆盖路径
必需的CLI工具: gog、jq、curl、base64