Skip to main content
googleSheets.listRows maps cells to records keyed by exact source headers.

Example

Inputs

Provide spreadsheet and source. A source is { sheet: string | number; headerRow?: number } or { table: string }. Sheet headers default to row 1, while table metadata supplies native headers and body bounds. from defaults to start, limit defaults to 100 and accepts up to 10,000, and offset defaults to 0. valueRender defaults to unformatted and also accepts formatted or formula. Second argument { account } selects the Google Account.

Output

rowNumber is one-based and range covers the source columns. Headers must be non-empty and unique after trimming. Keys match headers exactly. Missing and trailing cells become null.