Skill detail
recipe-sync-contacts-to-sheet
Export Google Contacts directory to a Google Sheets spreadsheet.
Why we recommend it: Writes contacts into a Google Sheet; uses spreadsheets as output but is a contacts recipe.
Inspect before use
Read the source instructions and check the requirements before you install this skill.
SKILL.md
The saved excerpt is a snapshot from when this skill was listed. The external source remains the complete and most current version.
---
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", "[email protected]", "+1-555-0100"]'`
Read the full source on GitHub (opens external page)