gws-sheets-append
What it does
This tool adds a new row of data to a Google Sheet. You just need to provide the sheet's ID and the data you want to add.
When to use it
- ✓When you need to manually add a new entry to a list.
- ✓To quickly log information into a table.
- ✓When updating a spreadsheet with new results or data.
Skill link
https://github.com/googleworkspace/cli/blob/main/skills/gws-sheets-append/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Add the row 'Jane,25,New York' to my spreadsheet with ID '123abcXYZ'.”
5 new skills a week. 1 minute to read.
How it works
The tool finds the spreadsheet using the ID you provide. Then, it adds the data you specified to the end of the sheet, as a new row.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
sheets +append
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Append a row to a spreadsheet
Usage
gws sheets +append --spreadsheet <ID>
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--spreadsheet |
✓ | — | Spreadsheet ID |
--values |
— | — | Comma-separated values (simple strings) |
--json-values |
— | — | JSON array of rows, e.g. '[["a","b"],["c","d"]]' |
--range |
— | A1 |
Target 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
- gws-shared — Global flags and auth
- gws-sheets — All read and write spreadsheets commands
FAQ
How do I find my spreadsheet ID?
The ID is a long string of letters and numbers in your Google Sheet's URL. It's usually found between '/d/' and '/edit'.
Can I add multiple rows at once?
Yes, you can use the JSON format to add multiple rows at once, which is useful for large amounts of data.
Can I add data to a specific sheet tab?
Yes, you can use the '--range' option to specify the tab and cell where you want to start adding data.
Details
Original description by the author
Google Sheets: Append a row to a spreadsheet.
repo: googleworkspace/cli
Popularity
- GitHub stars
- 32k
- Ranking position
- #9185
- License
- Apache-2.0
- Updated
- 10/6/2026
Comments
- …
More skills from this repository
gws-admin-reports
32kHelps your agent get activity reports from Google Workspace. It collects audit and usage data.
gws-calendar-agenda
32kHelps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
gws-calendar-insert
32kLets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
gws-calendar
32kAllows your agent to manage calendars and events. It's useful for organizing your life and work.
Similar skills
feishu-doc
394kHelps your agent read, create, and edit Feishu cloud documents, including text, images, and tables, using the document tool.
feishu-drive
394kLets your agent browse, organize, and comment on files in a Feishu cloud folder that has been shared with the bot.
feishu-perm
394kHelps your agent check and change who can access a Feishu file, choosing the smallest permission that meets your request.