360 Secure SkillHub
360 安全技能中心
当前公开展示的是 recipe-sync-contacts-to-sheet。本作品已批准的版本仍可按原地址安装和更新。

Recipe Sync Contacts To Sheet

通过 gws 命令行读取 Google Contacts 目录联系人,在 Google Sheets 指定表格中写入表头并逐行追加姓名、邮箱、电话;执行前需加载 gws-people 与 gws-sheets 两个前置技能,按固定步骤依次完成导出。

googleworkspace-bot
googleworkspace-bot
热度 0.00
最近更新 2026-05-11 17:32:05
分类:效率依赖:代码执行 / 第三方 API应用场景:工作流 / 数据处理 / CRM

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add recipe-sync-contacts-to-sheet
Metadata
name
recipe-sync-contacts-to-sheet
description
Export Google Contacts directory to a Google Sheets spreadsheet.
metadata
{"version":"0.22.5","openclaw":{"category":"recipe","domain":"productivity","requires":{"bins":["gws"],"skills":["gws-people","gws-sheets"]}}}

Export Google Contacts to Sheets

PREREQUISITE: Load the following skills to execute this recipe: gws-people, gws-sheets

Export Google Contacts directory to a Google Sheets spreadsheet.

Steps

  1. List contacts: gws people people listDirectoryPeople --params '{"readMask": "names,emailAddresses,phoneNumbers", "sources": ["DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE"], "pageSize": 100}' --format json
  2. Create a sheet: gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' --values '["Name", "Email", "Phone"]'
  3. Append each contact row: gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' --values '["Jane Doe", "jane@company.com", "+1-555-0100"]'