Agent skill

recipe-sync-contacts-to-sheet

Export Google Contacts directory to a Google Sheets spreadsheet.

Stars 24,434
Forks 1,240

Install this agent skill to your Project

npx add-skill https://github.com/googleworkspace/cli/tree/main/skills/recipe-sync-contacts-to-sheet

Metadata

Additional technical details for this skill

version
0.22.5
openclaw
{
    "domain": "productivity",
    "category": "recipe",
    "requires": {
        "bins": [
            "gws"
        ],
        "skills": [
            "gws-people",
            "gws-sheets"
        ]
    }
}

SKILL.md

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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results