> ## Documentation Index
> Fetch the complete documentation index at: https://relevanceai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Worksheet

> The Delete Worksheet tool step allows you to delete a worksheet in your Google Sheet

## Add the ‘Delete Worksheet’ Tool step to your Tool

<div
  style={{
position: "relative",
boxSizing: "content-box",
maxHeight: "100vh",
width: "100%",
aspectRatio: "1.7431192660550459",
padding: "24px 0"
}}
>
  <iframe
    src="https://app.supademo.com/embed/cme6ocmrs25czh3py98xlj684?embed_v=2&utm_source=embed"
    loading="lazy"
    title="Google Sheets Delete Worksheet"
    allow="clipboard-write; fullscreen"
    webkitAllowFullscreen="true"
    mozAllowFullscreen="true"
    allowFullscreen
    style={{
  position: "absolute",
  top: 0,
  left: 0,
  width: "100%",
  height: "100%",
  border: "3px solid #5E43CE",
  borderRadius: "10px",
  objectFit: "cover"
}}
  />
</div>

You can add the ‘Delete Worksheet’ Tool step to your Tool by:

1. Creating a new Tool, then searching for the ‘Delete Worksheet’ Tool step
2. Click ‘Expand’ to see the full Tool step
3. Using the dropdown menu:
   * Select the Google account you would like to use.
   * Select the Drive you would like to use (defaults to "My Drive").
   * Select your spreadsheet.
   * Select the worksheet you would like to delete.
4. Click 'Run step' to test out the Tool

## Frequently asked questions (FAQs)

<AccordionGroup>
  <Accordion title="How do i get the Drive ID?">
    To get the Drive ID, open Google Drive in your browser and navigate to the folder or shared drive you want to use. The drive ID is the long string of letters and numbers in the URL after `/drives/`.
  </Accordion>

  <Accordion title="How do i get the Spreadsheet ID?">
    You can get the Spreadsheet ID by navigating to your Google Sheet and copying the ID from the URL (the long string between `/d/` and `/edit`).
  </Accordion>

  <Accordion title="How do i get the Worksheet ID?">
    You can get the Worksheet ID by opening the specific worksheet you want to use and copying the ID from the URL (appears after `#gid=`).
  </Accordion>
</AccordionGroup>
