Skip to main content

Delete Row

Deletes a specific row from a Google Spreadsheet.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs

  • Spreadsheet Id - The ID of the Google Spreadsheet from which to delete the row.
  • Row Number - The row number (1-based index) to be deleted.

Options

No additional options available for this node.

Output

No output variables for this node.

How It Works

The Delete Row node removes a specific row from a Google Spreadsheet. When executed, the node:

  1. Validates the provided Spreadsheet Id and Row Number inputs
  2. Connects to the Google Spreadsheet using the provided ID
  3. Constructs a delete dimension request for the specified row
  4. Sends the delete request to the Google Sheets API
  5. Returns any errors encountered during the process

Requirements

  • A valid Google Spreadsheet ID
  • A valid row number (1-based index)
  • Proper Google Sheets API authentication and permissions

Error Handling

The node will return specific errors in the following cases:

  • Empty or invalid Spreadsheet Id
  • Invalid Row Number (negative or zero)
  • Google Sheets API authentication or permission errors
  • Network or connectivity issues with Google Sheets API

Usage Notes

  • The Spreadsheet Id can be obtained from the URL of your Google Spreadsheet
  • Row numbers are 1-based, meaning the first row is row 1, not row 0
  • Deleting a row will shift all rows below it up by one position
  • This operation cannot be undone, so use with caution
  • Ensure your Google account has proper permissions to modify the target spreadsheet