# How to retrieve spreadsheet IDs

> Spreadsheet IDs are used in the following Google Workspace activities:

## About

Spreadsheet IDs are used in the following Google Workspace activities:

* [Add Sheet](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-sheets-add-sheet-connections)
* [Delete Sheet](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-sheets-delete-sheet-connections)
* [Read Range](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-sheets-read-range-connections)
* [Read Cell](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-sheets-read-cell-connections)
* [Rename Sheet](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-sheets-rename-sheet-connections)
* [Write Cell](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-sheets-write-cell-connections)
* [Write Range](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-sheets-write-range-connections)
* [For Each Row in Spreadsheet](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-sheets-for-each-row-connections)

The easiest way to use this field is by clicking the **Folder**![](https://dev-assets.cms.uipath.com/assets/images/activities/activities-docs-image-folder_icon-818994f9.png) icon to browse Google Drive folders and select a spreadsheet.

You can also use the **Plus** button menu to switch to **Use variable** or **Url or ID** input modes.

![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/activities-docs-image-186990-ed5e3908.webp)

If you select **Use variable**, you can use the output variable from other activities, such as [Create Spreadsheet](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-sheets-create-spreadsheet-connections).

If you select **Url or ID**, you must provide the URL or ID. Learn how to retrieve the ID from the section below.

## How to retrieve the spreadsheet ID

Navigate to your desired spreadsheet in Google Drive. Its ID is available in the URL:

![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/activities-docs-image-185386-2a980563.webp)

Copy it and paste it in any activity which uses the **Spreadsheet** property. See below how this would look like in a [Rename Sheet](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-sheets-rename-sheet-connections) activity:

![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/activities-docs-image-178400-b1fdad5e.webp)
