Google Sheets Custom icon

Google Sheets Custom

Interact with Google Sheets API with auto-refreshing token

Actions7

Spreadsheet → Delete

AI-generated

Summary

Delete a Google Sheets spreadsheet by its ID using authorized API access.

Inputs

  • Authentication (required) — Choose between using an auto-refreshing Refresh Token or a manual Bearer Token for authentication.
  • Custom Refresh Token — Optionally override the refresh token from credentials when using Refresh Token authentication.
  • Spreadsheet ID (required) — The ID of the spreadsheet to delete.

Output shape

a single JSON object per input item indicating success and the deleted spreadsheet ID

Upon successful deletion, the operation returns an object with {success: true, spreadsheetId: ''}. If an error occurs and 'Continue On Fail' is enabled, the output will instead contain an error message and the paired item index.

Discussion