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

# Get Range Data

Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID, sheet name and a range.

<Note>
  External Documentation

  To learn more, visit the [Google Sheets documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get#http-request).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                                                                                                                            |
  | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Range          | Sets the ranges of values from the spreadsheet which will be returned, in the form of `startCell`:`endCell` to be returned.<br />For example, A1-E1 will return the first five cells in the first row. |
  | Sheet Name     | The name of the sheet.                                                                                                                                                                                 |
  | Spreadsheet ID | The ID of the spreadsheet.                                                                                                                                                                             |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter               | Description                                                                                                                                                                                                                                                                                                                  |
  | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Date Time Render Option | How dates, times, and durations should be represented in the output.<br />The default dateTime render option is SERIAL\_NUMBER.                                                                                                                                                                                              |
  | Delegated User Override | Perform the action on behalf of another user, overriding the delegated user defined in the connection.<br /><br />If not specified, the delegated user is the one provided in the connection.<br /><br />Has no effect when using an OAuth connection.<br /><br />NOTE: the connection details are not edited by this input. |
  | Major Dimension         | The major dimension that results should use.<br /><br />For example, if the spreadsheet data in Sheet1 is: `A1=1,B1=2,A2=3,B2=4`,<br />then requesting Major Dimension = ROWS returns `[[1,2],[3,4]]`,<br />whereas requesting Major Dimension = COLUMNS returns `[[1,3],[2,4]]`.                                            |
</div>

## Example Output

```json theme={"dark"}
{
	"range": "Sheet1!A2:E2",
	"majorDimension": "ROWS",
	"values": [
		[
			"a",
			"b",
			"c",
			"d",
			"a"
		]
	]
}
```

## Workflow Library Example

[Get Range Data with Google Sheets and Send Results Via Email](https://library.blinkops.com/workflows/get-range-data-with-google-sheets-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-range-data-with-google-sheets-and-send-results-via-email/canvas" />
</div>
