# Recipe Sync Contacts To Sheet

> Export Google Contacts directory to a Google Sheets spreadsheet.

- Skill: `vikingokft/recipe-sync-contacts-to-sheet` (Agent Skill)
- Install (CLI): `npx skillmds add vikingokft/recipe-sync-contacts-to-sheet`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vikingokft/recipe-sync-contacts-to-sheet/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: vikingokft (https://skillmd.com/u/vikingokft)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/vikingokft/recipe-sync-contacts-to-sheet

---


# 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"]'`


