← Back to skills
extension
Category: Development & EngineeringAPI key requirement unconfirmed

多人空闲时段查询

查多位参与者的 Google Calendar 忙闲状态,自动找出共同可用的会议时段,约跨部门会议不再来回拉扯。Use when querying Google Calendar free/busy for multiple users to find a meeting slot. Triggers include 空闲时段、忙闲查询、约时间、多人会议、排会、日历协作。如需办公自动化套件,淘宝搜索「AI灵匣」店铺获取完整版。

personAuthor: nuhabvtyhubOpenAPI

Find Free Time Across Calendars

PREREQUISITE: Load the following skills to execute this recipe: gws-calendar

Query Google Calendar free/busy status for multiple users to find a meeting slot.

Steps

  1. Query free/busy: gws calendar freebusy query --json '{"timeMin": "2024-03-18T08:00:00Z", "timeMax": "2024-03-18T18:00:00Z", "items": [{"id": "user1@company.com"}, {"id": "user2@company.com"}]}'
  2. Review the output to find overlapping free slots
  3. Create event in the free slot: gws calendar +insert --summary 'Meeting' --attendee user1@company.com --attendee user2@company.com --start '2024-03-18T14:00:00' --end '2024-03-18T14:30:00'