recipe-sync-contacts-to-sheet
โดย Google
ส่งออกรายชื่อผู้ติดต่อจาก Google Contacts ไปยังสเปรดชีต 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"]'
Skills เพิ่มเติมจาก Google
gws-modelarmor-sanitize-response
Google
Google Model Armor: ทำความสะอาดการตอบสนองของโมเดลผ่านเทมเพลต Model Armor
gws-people
Google
จัดการรายชื่อผู้ติดต่อและโปรไฟล์
gws-shared
Google
CLI ของ gws: รูปแบบที่ใช้ร่วมกันสำหรับการตรวจสอบสิทธิ์, แฟลกระดับโลก, และการจัดรูปแบบผลลัพธ์
gws-sheets
Google
Google Sheets: อ่านและเขียนสเปรดชีต
gws-sheets-append
Google
Google Sheets: เพิ่มแถวลงในสเปรดชีต
gws-sheets-read
Google
Google Sheets: อ่านค่าจากสเปรดชีต
gws-slides
Google
Google Slides: อ่านและเขียนงานนำเสนอ
gws-tasks
Google
Google Tasks: จัดการรายการงานและงานต่างๆ