360 Secure SkillHub
360 安全技能中心

Recipe Backup Sheet As Csv

核心功能:借助gws工具及gws-sheets、gws-drive技能,通过三种方式将指定谷歌表格转为CSV文件。典型场景:需对谷歌表格进行本地备份或后续数据处理时使用。输入为谷歌表格ID,输出为CSV格式文件,满足本地存储或数据加工需求。

googleworkspace-bot
googleworkspace-bot
热度 75.46
最近更新 2026-05-11 17:29:17
分类:自动化依赖:代码执行 / 第三方 API应用场景:文件转换

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add recipe-backup-sheet-as-csv
Metadata
name
recipe-backup-sheet-as-csv
description
Export a Google Sheets spreadsheet as a CSV file for local backup or processing.
metadata
{"version":"0.22.5","openclaw":{"category":"recipe","domain":"productivity","requires":{"bins":["gws"],"skills":["gws-sheets","gws-drive"]}}}

Export a Google Sheet as CSV

PREREQUISITE: Load the following skills to execute this recipe: gws-sheets, gws-drive

Export a Google Sheets spreadsheet as a CSV file for local backup or processing.

Steps

  1. Get spreadsheet details: gws sheets spreadsheets get --params '{"spreadsheetId": "SHEET_ID"}'
  2. Export as CSV: gws drive files export --params '{"fileId": "SHEET_ID", "mimeType": "text/csv"}'
  3. Or read values directly: gws sheets +read --spreadsheet SHEET_ID --range 'Sheet1' --format csv