App Logo
docs.google.com

Sheets: write cells

Automatically write cells on docs.google.com. Write a 2D block of values into one tab of a Google Spreadsheet, top-left at startCell, like the Sheets API: null leaves a cell as it is, "" clears it, anything else replaces it as if typed (dropdown rules and formatting stay; clearing a dropdown cell removes its dropdown). Returns range, rows, cols, saved once every edit is saved. A value the sheet refuses (data validation, outside the grid) stops the run with the sheet's own message. Values are parsed per the spreadsheet locale ("1.5" in a FR sheet becomes 1 May; prefix ' to force text); leading = enters a formula; needs edit rights.

Input

values required

2D row-major block, as in the Sheets API: null leaves the cell as it is, "" clears it, anything else replaces it as if typed. "=..." enters a formula.

spreadsheetId required

Spreadsheet id or any full docs.google.com spreadsheet URL

gid optional

Tab gid (from sheets_list_tabs). Default 0.

Default: 0
startCell optional

Top-left cell in A1 notation, e.g. "B2". Default "A1".

Default: "A1"

Output

cols required
rows required
range required

A1 range the block covers

saved required

true once the document status reads saved, i.e. every edit is on the server

FAQ

Write a 2D block of values into one tab of a Google Spreadsheet, top-left at startCell, like the Sheets API: null leaves a cell as it is, "" clears it, anything else replaces it as if typed (dropdown rules and formatting stay; clearing a dropdown cell removes its dropdown). Returns range, rows, cols, saved once every edit is saved. A value the sheet refuses (data validation, outside the grid) stops the run with the sheet's own message. Values are parsed per the spreadsheet locale ("1.5" in a FR sheet becomes 1 May; prefix ' to force text); leading = enters a formula; needs edit rights.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/sheets_write_cells, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/sheets_write_cells
You do not need one. "Sheets: write cells" drives the real docs.google.com pages in a browser, so it works whether or not docs.google.com offers an API for this.
Required: spreadsheetId, values. Optional: gid, startCell.
It returns cols, rows, range, saved.
Yes. It acts as you on docs.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the docs.google.com cookies saved by the Reduck extension.
It makes changes on docs.google.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/sheets_write_cells, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/sheets_write_cells
It is part of Reduck's official curated catalogue.

Start building not clicking