Menu
Sheets.spreadsheets.values.append
Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the [guide](/sheets/api/guides/values#appending_values) and [sample code](/sheets/api/samples/writing#append_values) for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The `valueInputOption` only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to.
/v4/spreadsheets/{spreadsheetId}/values/{range}:appendUse it in a workflow
- Add a step and choose the Google Sheets connector.
- Pick the Sheets.spreadsheets.values.append action (under spreadsheets).
- Fill in the fields below, then reference the result from later steps as
{{sheetsSpreadsheetsValuesAppend.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 {{sheetsSpreadsheetsValuesAppend.response.data.<field>}}.
{
"spreadsheetId": "string",
"tableRange": "string",
"updates": {
"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.