GOOGLE WORKSPACE Insert rows function

The GOOGLE WORKSPACE Insert rows function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to insert rows into a Google Sheet.

For a full list of available functions, please read GOOGLE WORKSPACE functions.


Description

The Insert rows function inserts blank rows at a specified position in a Google Sheets spreadsheet. Existing rows are shifted down to make room.


Input parameters

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
Spreadsheet IDYesText-Google Sheets spreadsheet ID
Sheet IDYesText-Numeric sheet ID
Start indexYesNumber-Zero-based row index where new rows will be inserted
CountYesNumber1Number of rows to insert

Errors

  • Sheet not found – no sheet exists with the given ID
  • Invalid index – the start index is out of range

Tips

  • Row indices are zero-based (0 = row 1, 1 = row 2, etc.)
  • Inserted rows are blank – use Write sheet range to populate them

Related functions

  • Delete rows – Delete rows from the sheet
  • Insert columns – Insert blank columns

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.