Skip to main content
googleSheets.updateRows writes only the supplied cells and preserves other columns.

Example

Inputs

Provide spreadsheet, source, and non-empty updates. Each update has a one-based rowNumber and non-empty values record whose keys exactly match headers. null clears a cell. inputMode defaults to userEntered. Second argument { account } selects the Google Account.

Output

Returns { affectedCells, rowNumbers }. affectedCells counts supplied cells, not the full row width. The action accepts duplicate row numbers and retains them in output. Later writes to the same cell win in request order.