Skip to content

Google Sheets — Append rows

Type: googlesheets-append  ·  Package: Google Sheets Activities v1.0.0

Adds rows to the end of existing data, without overwriting. Ideal for accumulating records in a shared sheet over time: a log, a log, growing results.

Detects the last data in the indicated range (the entire sheet by default) and writes the values below. Accepts a DataTable (or a DataRow for a single row). Requires a Google Sheets — Open session.

ParameterEditorDescription
valuesexpressionThe DataTable to add (or a DataRow for a single row).
ParameterEditorDescription
sessionsessionGoogle Sheets — Open session. Optional: within a body it is inherited.
sheetexpressionSheet where to add.
rangeexpressionRange where to search for the latest data. By default, the entire sheet.

Record the result of each execution on a sheet:

Google Sheets — Append rows
session = = hoja
sheet = "Bitácora"
values = = arr(arr(now().ToString("yyyy-MM-dd HH:mm"), proceso, "OK"))