Menu
Sheets.spreadsheets.values.update
Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption.
PUT
/v4/spreadsheets/{spreadsheetId}/values/{range}Use it in a workflow
- Add a step and choose the Google Sheets connector.
- Pick the Sheets.spreadsheets.values.update action (under spreadsheets).
- Fill in the fields below, then reference the result from later steps as
{{sheetsSpreadsheetsValuesUpdate.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"majorDimension": "DIMENSION_UNSPECIFIED",
"range": "string",
"values": [
[
null
]
]
}
Response
Returns 200 with an object. Read it in later steps with {{sheetsSpreadsheetsValuesUpdate.response.data.<field>}}.
{
"spreadsheetId": "string",
"updatedCells": 0,
"updatedColumns": 0,
"updatedData": {
"majorDimension": "DIMENSION_UNSPECIFIED",
"range": "string",
"values": [
[
null
]
]
},
"updatedRange": "string",
"updatedRows": 0
}
Need more? See the Google Sheets guide for connection setup and behaviour shared by every action.
Was this page helpful?