Skip to main content
googleSheets.appendRows orders each record by the source headers before appending it.

Example

Inputs

Provide spreadsheet, source, and one record or non-empty records array. See List rows for source syntax. Values are string, number, boolean, or null. Record keys must exactly match headers. Omitted columns become null. inputMode defaults to userEntered, which parses formula strings. raw stores them literally. Second argument { account } selects the Google Account binding.

Output

Returns { affectedCells, rowNumbers, updatedRange? }. rowNumbers is empty because Google append APIs don’t reliably return row identities. Ordinary sheets can return updatedRange. Native-table appends don’t.