Google Workspace: Append rows after the last data in a range

Append rows after the last data in a range.

Help Centre › Functions & Formulas

Append rows after the last data in a range.

Add it to a process

In the process designer, open the Add step tab. Find Append rows after the last data in a range under Google Workspace › Sheets, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
ValuesYesRows to append as a JSON list of lists (e.g. '[["A","B"],["1","2"]]')
RangeYesThe range to search for existing data (e.g. 'Sheet1!A:D')
Value inputNoHow input values should be interpreted Choices: USER_ENTERED, RAW. Default: USER_ENTERED.
Insert dataNoHow new data should be inserted Choices: INSERT_ROWS, OVERWRITE. Default: INSERT_ROWS.
ConnectionNoPick an "environment-aware" alias to resolve the connection per the run's environment (with a shared fallback), or a specific connection to always use that one. Configure connections and aliases in Settings > Connectors.
Spreadsheet IDNoSupports variables and formulas, e.g. {rate} or =ROUND({rate}, 6).
RangeNoSupports variables and formulas, e.g. {rate} or =ROUND({rate}, 6).
Values (2D JSON array)No
VariableNoName of the variable where the result will be stored
Repeat for each (list)NoOptional, Cloud processes only. A list expression like {{steps.previousStep.output.items}}. The step runs once per item, with {{item}} available in the fields above.
Idempotency keyNoOptional, Cloud processes only. An expression that uniquely identifies each item, e.g. {{item.id}}. The step skips any item it already processed in a prior run, so it is safe for recurring syncs.
Watermark fieldNoOptional, Cloud processes only. A field in each record to track as the sync cursor, e.g. modifiedDate. Reference the stored value in this step's inputs as {{vars.watermark}} to pull only newer records each run.
Watermark list pathNoOptional, Cloud processes only. Dotted path to the array of records in the response, e.g. data. Leave blank if the response is itself the list.
Secure inputsNoCloud processes. Redact this step's request inputs in the run trace. The call still runs; HTTP status and errors stay visible.
Secure outputsNoCloud processes. Redact this step's response body and headers in the run trace. HTTP status and errors stay visible.

See all Google Workspace steps.

Tips

  • Use a range like Sheet1!A:D to append to the first four columns
  • Rows are appended after the last row that contains data
  • This function is better than Write for adding records because it auto-detects the next empty row

Related functions

  • Write sheet range – Write to a specific range
  • Read sheet range – Read values from a range

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.