@googleworkspace/recipe-sync-contacts-to-sheet

by googleworkspace · v1.0.0 · prompt

Export Google Contacts directory to a Google Sheets spreadsheet.

Install

Add @googleworkspace/recipe-sync-contacts-to-sheet to Claude Code with the PolySkill CLI: polyskill add @googleworkspace/recipe-sync-contacts-to-sheet

Instructions

# 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-id SHEET_ID --range 'Contacts' --values '["Name", "Email", "Phone"]'` 3. Append each contact row: `gws sheets +append --spreadsheet-id SH…

Keywords: google, sync, recipe, workspace, to, contacts