recipe-sync-contacts-to-sheet
por Google
Exportar o diretório do Google Contacts para uma planilha do Google Sheets.
npx skills add https://github.com/googleworkspace/cli --skill recipe-sync-contacts-to-sheetExport 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"]'
Mais skills de Google
gws-modelarmor-sanitize-response
Google
Google Model Armor: Sanitizar uma resposta do modelo através de um template do Model Armor.
gws-people
Google
Gerenciar contatos e perfis.
gws-shared
Google
CLI gws: Padrões compartilhados para autenticação, flags globais e formatação de saída.
gws-sheets
Google
Google Sheets: Leia e escreva planilhas.
gws-sheets-append
Google
Google Sheets: Adicionar uma linha a uma planilha.
gws-sheets-read
Google
Google Sheets: Ler valores de uma planilha.
gws-slides
Google
Google Slides: Leia e escreva apresentações.
gws-tasks
Google
Gerenciar listas de tarefas e tarefas.