Skip to main content

Delete rows in Google Sheets

Deletes a range of rows from a sheet of a Google Sheets spreadsheet.

Common use cases

  • Data and Content Manipulation

Application

  • Google Sheets

Inputs (what you have)

NAMEDESCRIPTIONTYPEREQUIREDEXAMPLE
Spreadsheet linkThe link to the Google spreadsheetURLYeshttps://drive.google.com/drive/folders/1Fy55AyJu9vqJ
Range startThe row number at the beginning of the range to be deletedIntegerYes1
Range endThe row number at the end of the range to be deleted. If desired to delete a single row enter the same number from the 'Range start row number' inputIntegerYes4
Sheet NameThe name of the sheet that contains the dataTextNoSheet1

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 deleted in the specified Google Sheets spreadsheet
UnsuccessfulThis status is selected in the event of the following scenarios:- The spreadsheet url is not provided or is invalid- The spreadsheet is not accessible (no access allowed)- The index of the row to be deleted 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