recipe-sync-contacts-to-sheet
Original:🇺🇸 English
Translated
Export Google Contacts directory to a Google Sheets spreadsheet.
19installs
Sourcegoogleworkspace/cli
Added on
NPX Install
npx skill4agent add googleworkspace/cli recipe-sync-contacts-to-sheetTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Export Google Contacts to Sheets
PREREQUISITE: Load the following skills to execute this recipe:,gws-peoplegws-sheets
Export Google Contacts directory to a Google Sheets spreadsheet.
Steps
- List contacts:
gws people people listDirectoryPeople --params '{"readMask": "names,emailAddresses,phoneNumbers", "sources": ["DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE"], "pageSize": 100}' --format json - Create a sheet:
gws sheets +append --spreadsheet-id SHEET_ID --range 'Contacts' --values '["Name", "Email", "Phone"]' - Append each contact row:
gws sheets +append --spreadsheet-id SHEET_ID --range 'Contacts' --values '["Jane Doe", "jane@company.com", "+1-555-0100"]'