Skip to content

recipe-sync-contacts-to-sheet

Export your Google Contacts directory to a Google Sheets spreadsheet in three steps.

— (0 ratings) 32.5K downloads googleworkspace
$ npx skills add https://github.com/googleworkspace/cli --skill recipe-sync-contacts-to-sheet

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Export your Google Contacts directory to a Google Sheets spreadsheet in three steps.

  • Requires gws-people and gws-sheets skills to be loaded before execution
  • Lists contacts from your domain directory with names, email addresses, and phone numbers
  • Creates a new sheet with headers and appends each contact as a row for easy reference and sharing

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

Installs: 32.5K | GitHub stars: 32.6K | First seen: Mar 4, 2026

Related skills

New

DevOps & cloud

azure-storage

Unified access to Azure blob storage, file shares, queues, tables, and data lake services.

New • 780.2K
New

DevOps & cloud

azure-resource-visualizer

Transform Azure resource groups into detailed architecture diagrams showing resource relationships and configurations.

New • 779.4K
New

Databases

azure-kusto

Execute KQL queries and analyze data in Azure Data Explorer for log analytics, telemetry, and time series insights.

New • 779.1K