技能 效率工具 复制每月表格模板

复制每月表格模板

v20260401
recipe-copy-sheet-for-new-month
通过 gws 命令获取、复制并重命名表单标签,实现为新月份快速生成跟踪模板,提高月度数据准备效率。
获取技能
143 次下载
概览

Copy a Google Sheet for a New Month

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

Duplicate a Google Sheets template tab for a new month of tracking.

Steps

  1. Get spreadsheet details: gws sheets spreadsheets get --params '{"spreadsheetId": "SHEET_ID"}'
  2. Copy the template sheet: gws sheets spreadsheets sheets copyTo --params '{"spreadsheetId": "SHEET_ID", "sheetId": 0}' --json '{"destinationSpreadsheetId": "SHEET_ID"}'
  3. Rename the new tab: gws sheets spreadsheets batchUpdate --params '{"spreadsheetId": "SHEET_ID"}' --json '{"requests": [{"updateSheetProperties": {"properties": {"sheetId": 123, "title": "February 2025"}, "fields": "title"}}]}'
信息
Category 效率工具
Name recipe-copy-sheet-for-new-month
版本 v20260401
大小 1002B
更新时间 2026-04-08
语言