Back to Google Sheets

Connect Knoon AI with Google Sheets (Google) to automate AI workflows.

Insert a new sheet row at the requested row number in a Google Sheet and shift existing rows down.
googleSheetsInsertRow
BETA
Permissions
  • https://www.googleapis.com/auth/drive.file
Optional permissions
  • https://www.googleapis.com/auth/drive
Parameters
NameTypeDescriptionRequired
spreadsheetIdfile Select the Google Sheets file to insert the row into.Yes
rangemustache Target sheet and starting cell in A1 notation (e.g. "Sheet1!A2"). The referenced row is used together with insertPosition to decide whether the new row is inserted before or after that row, and values are written starting from this column.Yes
valueInputOptionstring How to treat the cell values: RAW = store exactly as given, USER_ENTERED = let Sheets parse values and formulas.Yes
insertPositionstring Whether to insert the new sheet row before or after the row referenced by the A1 cell.Yes
valuesarray (mustache)Row values to write into the newly inserted row.Yes
Returns
NameTypeDescription
statusstring INSERTED or ERROR.
sensitive.spreadsheetIdstring Spreadsheet ID.
sensitive.updatedRangestring Range where the inserted row values were written.