360 Secure SkillHub
360 安全技能中心

Recipe Sync Contacts To Sheet

核心功能为将Google联系人目录(含姓名、邮箱、电话)批量导出至Google表格,需依赖gws-people、gws-sheets技能。典型场景包括企业批量整理员工通讯录、个人备份联系人数据。执行时需指定目标表格ID,通过三步自动化操作完成导出,输出填充好联系人信息的指定Google表格。

googleworkspace-bot
googleworkspace-bot
热度 70.93
最近更新 2026-05-11 17:32:05
分类:自动化依赖:MCP 服务 / 第三方 API应用场景:数据处理 / 工作流

安装技能

复制下面的话术发给你的 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"]'