Skip to content
For LLMsView as Markdown·

Google Sheets

Read, write, and manage spreadsheet data via the Google Sheets API.

DetailValue
CategoryProductivity
Base URLhttps://sheets.googleapis.com/v4
AuthenticationOAuth2 Client Credentials
Endpoints5
Connector keygoogle_sheets

Using Google Sheets in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Google Sheets from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /spreadsheets/{spreadsheetId}Get spreadsheet metadata
GET /spreadsheets/{spreadsheetId}/values/{range}Get cell values from a range
PUT /spreadsheets/{spreadsheetId}/values/{range}Update cell values in a range
POST /spreadsheets/{spreadsheetId}/values/{range}:appendAppend values to a sheet
POST /spreadsheets/{spreadsheetId}/values:batchGetGet multiple ranges of values

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /spreadsheets/{spreadsheetId}

Get spreadsheet metadata

DetailValue
Operation IDdata.getSpreadsheet
MethodGET
Path/spreadsheets/{spreadsheetId}

Parameters

NameLocationTypeRequired
spreadsheetIdpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Google Sheets connection from the Connection dropdown.
  3. In the Operation dropdown, select data.getSpreadsheet.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Google Sheets API reference.

GET /spreadsheets/{spreadsheetId}/values/{range}

Get cell values from a range

DetailValue
Operation IDdata.getValues
MethodGET
Path/spreadsheets/{spreadsheetId}/values/{range}

Parameters

NameLocationTypeRequired
spreadsheetIdpathstringYes
rangepathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Google Sheets connection from the Connection dropdown.
  3. In the Operation dropdown, select data.getValues.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Google Sheets API reference.

PUT /spreadsheets/{spreadsheetId}/values/{range}

Update cell values in a range

DetailValue
Operation IDdata.updateValues
MethodPUT
Path/spreadsheets/{spreadsheetId}/values/{range}

Parameters

NameLocationTypeRequired
spreadsheetIdpathstringYes
rangepathstringYes
valueInputOptionquerystringYes

Request Body

FieldType
valuesarray

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Google Sheets connection from the Connection dropdown.
  3. In the Operation dropdown, select data.updateValues.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Google Sheets API reference.

POST /spreadsheets/{spreadsheetId}/values/{range}:append

Append values to a sheet

DetailValue
Operation IDdata.appendValues
MethodPOST
Path/spreadsheets/{spreadsheetId}/values/{range}:append

Parameters

NameLocationTypeRequired
spreadsheetIdpathstringYes
rangepathstringYes
valueInputOptionquerystringYes

Request Body

FieldType
valuesarray

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Google Sheets connection from the Connection dropdown.
  3. In the Operation dropdown, select data.appendValues.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Google Sheets API reference.

POST /spreadsheets/{spreadsheetId}/values:batchGet

Get multiple ranges of values

DetailValue
Operation IDdata.batchGetValues
MethodPOST
Path/spreadsheets/{spreadsheetId}/values:batchGet

Parameters

NameLocationTypeRequired
spreadsheetIdpathstringYes
rangesquerystringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Google Sheets connection from the Connection dropdown.
  3. In the Operation dropdown, select data.batchGetValues.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Google Sheets API reference.