Tool Configurations
googlesheets
Document Operations

Google Sheets Document operations

Use this operation to create or delete a Google spreadsheet from Google Sheets. Refer to Google Sheets for more information on the Google Sheets tool itself.

Create a spreadsheet

Use this operation to create a new spreadsheet.

Enter these parameters:

  • Credential to connect with: Create or select an existing Google Sheets credentials.
  • Resource: Select Document.
  • Operation: Select Create.
  • Title: Enter the title of the new spreadsheet you want to create.
  • Sheets: Add the Title(s) of the sheet(s) you want to create within the spreadsheet.

Options

Refer to the Method: spreadsheets.create | Google Sheets (opens in a new tab) API documentation for more information.

Delete a spreadsheet

Use this operation to delete an existing spreadsheet.

Enter these parameters:

  • Credential to connect with: Create or select an existing Google Sheets credentials.
  • Resource: Select Document.
  • Operation: Select Delete.
  • Document: Choose a spreadsheet you want to delete.
    • Select From list to choose the title from the dropdown list, By URL to enter the url of the spreadsheet, or By ID to enter the spreadsheetId.
    • You can find the spreadsheetId in a Google Sheets URL: https://docs.google.com/spreadsheets/d/spreadsheetId/edit#gid=0.

Refer to the Method: files.delete | Google Drive (opens in a new tab) API documentation for more information.