Skip to content
All Skills

Export Google Contacts to Sheets

Export Google Contacts directory to a Google Sheets spreadsheet.

Personal Productivity|v1|Updated 5/18/2026|GitHub source
MCP get_skill({ skillId: "export-google-contacts-to-sheets-2b0cf828" })

Use this skill with your agent

Create a free account and connect via MCP

Get Started Free
# 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"]'`
#work-life#productivity#external#license-apache-2-0#googleworkspace-cli#google-workspace#gmail#calendar#docs#sheets#tasks#googlegoogle-workspacegoogle-sheets