GOOGLE WORKSPACE Delete sheet tab function

The GOOGLE WORKSPACE Delete sheet tab function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to delete a sheet tab.

For a full list of available functions, please read GOOGLE WORKSPACE functions.


Description

The Delete sheet tab function removes a sheet tab from a Google Sheets spreadsheet by its sheet ID. All data in the tab is permanently deleted.


Input parameters

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
Spreadsheet IDYesText-Google Sheets spreadsheet ID
Sheet IDYesText-The numeric sheet ID (use Get metadata to find it)

Errors

  • Sheet not found – no sheet exists with the given ID
  • Cannot delete last sheet – a spreadsheet must have at least one sheet tab

Tips

  • Use Get metadata to find the numeric sheet ID before deleting
  • This action is irreversible – all data in the tab is permanently removed

Related functions

  • Add sheet tab – Add a new sheet tab
  • Get metadata – List all sheet tabs and their IDs

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.