Skip to main content

Insert row in Google Sheets

Adds a row into a given row index in a Google Sheets spreadsheet

Common use cases

  • Data Manipulation

Application

  • Google Sheets

Inputs (what you have)

NAMEDESCRIPTIONTYPEREQUIREDEXAMPLE
Google Sheets spreadsheet URLThe link (URL) to the Google spreadsheetURLYeshttps://docs.google.com/spreadsheets/d/1eit
Row IndexThe new row will be inserted above this indexIntegerYes2
Sheet NameThe name of the sheet that contains the dataTextNoSheet_Name

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data Library. These variables in the Data Library are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

  • N/A

Outcomes

NAMEDESCRIPTION
SuccessThis status is selected if the row was successfully added onto the specified Google Sheets spreadsheet, and the provided link can be used to directly access the file
UnsuccessfulThis status is selected in the event of the following scenarios: - The spreadsheet URL was not provided or is invalid- The spreadsheet is not accessible- The index of the row to be added is not a valid number

Requirements

  • The provided Link to the Sheet must have editing permissions.
  • All Drives and Sheets need to be shared with: googlewrkbots@wrk.com