googleworkspace avatar

Gws Sheets Append

A straightforward wrapper around Google Sheets' append API that handles both single rows and bulk inserts. You pass comma-separated values for quick additions or JSON arrays when you need to dump multiple rows at once. The range flag lets you target specific sheet tabs, which is handy when working with multi-tab spreadsheets. It's a write command so Claude will confirm before executing, which prevents accidental data insertion. The tool assumes you've already set up authentication through the gws shared components. Most useful for logging data, building simple dashboards, or automating report generation where you need to continuously add structured data to existing sheets.

skills.sh installs
48K
GitHub stars
32.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add googleworkspace/cli --skill gws-sheets-append --agent claude-code

Installs into .claude/skills of the current project.

Files

sheets +append

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Append a row to a spreadsheet

Usage

gws sheets +append --spreadsheet <ID>

Flags

FlagRequiredDefaultDescription
--spreadsheet✓—Spreadsheet ID
--values——Comma-separated values (simple strings)
--json-values——JSON array of rows, e.g. '[["a","b"],["c","d"]]'
--range—A1Target range in A1 notation (e.g. 'Sheet2!A1') to select a specific tab

Examples

gws sheets +append --spreadsheet ID --values 'Alice,100,true'
gws sheets +append --spreadsheet ID --json-values '[["a","b"],["c","d"]]'
gws sheets +append --spreadsheet ID --range "Sheet2!A1" --values 'Alice,100'

Tips

  • Use --values for simple single-row appends.
  • Use --json-values for bulk multi-row inserts.
  • Use --range to append to a specific sheet tab (default: A1, i.e. first sheet).

[!CAUTION] This is a write command — confirm with the user before executing.

See Also

Sponsors

Details

Repository
github.com/googleworkspace/cli
Categories
CLI & Terminal, Office & Documents

More from googleworkspace/cli

All 113
1googleworkspace avatargws-tasksgoogleworkspace/cliGoogle Tasks: Manage task lists and tasks.46.3Kskills.sh installs
2googleworkspace avatargws-slidesgoogleworkspace/cliGoogle Slides: Read and write presentations.42.9Kskills.sh installs
3googleworkspace avatargws-meetgoogleworkspace/cliManage Google Meet conferences.42.2Kskills.sh installs
4googleworkspace avatargws-gmail-readgoogleworkspace/cliGmail: Read a message and extract its body or headers.42.1Kskills.sh installs
5googleworkspace avatargws-gmail-watchgoogleworkspace/cliGmail: Watch for new emails and stream them as NDJSON.38.1Kskills.sh installs
6googleworkspace avatargws-gmail-replygoogleworkspace/cliGmail: Reply to a message (handles threading automatically).36Kskills.sh installs