Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Append one or more rows to a Google Sheets spreadsheet via the gws CLI using simple values or JSON arrays.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: gws-sheets-append3description: "Google Sheets: Append a row to a spreadsheet."4metadata:5version: 0.22.56openclaw:7category: "productivity"8requires:9bins:10- gws11cliHelp: "gws sheets +append --help"12---1314# sheets +append1516> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.1718Append a row to a spreadsheet1920## Usage2122```bash23gws sheets +append --spreadsheet <ID>24```2526## Flags2728| Flag | Required | Default | Description |29|------|----------|---------|-------------|30| `--spreadsheet` | ✓ | — | Spreadsheet ID |31| `--values` | — | — | Comma-separated values (simple strings) |32| `--json-values` | — | — | JSON array of rows, e.g. '[["a","b"],["c","d"]]' |33| `--range` | — | `A1` | Target range in A1 notation (e.g. 'Sheet2!A1') to select a specific tab |3435## Examples3637```bash38gws sheets +append --spreadsheet ID --values 'Alice,100,true'39gws sheets +append --spreadsheet ID --json-values '[["a","b"],["c","d"]]'40gws sheets +append --spreadsheet ID --range "Sheet2!A1" --values 'Alice,100'41```4243## Tips4445- Use --values for simple single-row appends.46- Use --json-values for bulk multi-row inserts.47- Use --range to append to a specific sheet tab (default: A1, i.e. first sheet).4849> [!CAUTION]50> This is a **write** command — confirm with the user before executing.5152## See Also5354- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth55- [gws-sheets](../gws-sheets/SKILL.md) — All read and write spreadsheets commands56