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-V2
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
sheetNamefile Name of the target sheet tab (e.g. "Sheet1").Yes
rangemustache Starting cell in A1 notation used with insertPosition to locate the inserted row (e.g. "A2"). Do not include the sheet name.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.