Recipe sync contacts to sheet
Skill googleworkspace/cli/skills/recipe-sync-contacts-to-sheet
Export Google Contacts directory to a Google Sheets spreadsheet.From its SKILL.md
npx -y skills add googleworkspace/cli --skill recipe-sync-contacts-to-sheetAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.0 KB, 182 tokens by cl100k_base, as published. Nobody here has run it
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
- 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 SHEET_ID --range 'Contacts' --values '["Name", "Email", "Phone"]' - Append each contact row:
gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' --values '["Jane Doe", "[email protected]", "+1-555-0100"]'
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.