> For the complete documentation index, see [llms.txt](https://docs.diaflow.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.diaflow.io/studio/nodes/apps/google-sheet/document-level-operations.md). Agents can also search and read this documentation through its [MCP server](https://docs.diaflow.io/~gitbook/mcp).

# Document-level Operations

Operations related to the entire Google Sheet file

## 1. **Create a new Google Sheet**

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FVnW3NrwH0uF6Tkaq34kc%2Fimage.png?alt=media&amp;token=d7406236-7dfa-42e5-8f6a-ad47cc664f43" alt=""><figcaption></figcaption></figure>

### Component settings

| Parameter Name | Description                                                                                        |
| -------------- | -------------------------------------------------------------------------------------------------- |
| Credentials    | Connect your Google account to authorize access to Google Sheets. Required to perform any actions. |
| Action         | <p>Select the action:<br><br>- Create a new Google sheet</p>                                       |
| Title          | Input the Title of the "Google sheet" you want to create                                           |

## **2. Get Spreadsheet Info**

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2F5BwVqIK1IOjxsGiVZde2%2Fimage.png?alt=media&amp;token=20797ab6-e71a-44b6-b0b6-d42c9191bb80" alt=""><figcaption></figcaption></figure>

### Component settings

| Parameter Name | Description                                                                                        |
| -------------- | -------------------------------------------------------------------------------------------------- |
| Credentials    | Connect your Google account to authorize access to Google Sheets. Required to perform any actions. |
| Action         | <p>Select the action:<br><br>- Get Spreadsheet Info</p>                                            |
| Spreadsheet ID | Input the "Spreadsheet ID" you want to get the info                                                |
