Skip to content
For LLMsView as Markdown·

Google BigQuery

Run SQL queries and manage datasets and tables in Google BigQuery.

DetailValue
CategoryDatabase
Base URLhttps://bigquery.googleapis.com/bigquery/v2
AuthenticationSee connector docs
Endpoints8
Connector keygcp-bigquery

Using Google BigQuery in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Google BigQuery 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 /projects/{projectId}/datasetsList datasets
POST /projects/{projectId}/datasetsCreate a dataset
GET /projects/{projectId}/datasets/{datasetId}/tablesList tables
POST /projects/{projectId}/queriesRun a SQL query
GET /projects/{projectId}/jobsList jobs
GET /projects/{projectId}/jobs/{jobId}Get job details
POST /projects/{projectId}/jobs/{jobId}/cancelCancel a job
GET /projects/{projectId}/datasets/{datasetId}/tables/{tableId}/dataList table data

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

GET /projects/{projectId}/datasets

List datasets

DetailValue
Operation IDdatabase.listDatasets
MethodGET
Path/projects/{projectId}/datasets

Parameters

No parameters.

Using this endpoint in a workflow

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

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 BigQuery API reference.

POST /projects/{projectId}/datasets

Create a dataset

DetailValue
Operation IDdatabase.insertDataset
MethodPOST
Path/projects/{projectId}/datasets

Parameters

No parameters.

Using this endpoint in a workflow

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

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 BigQuery API reference.

GET /projects/{projectId}/datasets/{datasetId}/tables

List tables

DetailValue
Operation IDdatabase.listTables
MethodGET
Path/projects/{projectId}/datasets/{datasetId}/tables

Parameters

No parameters.

Using this endpoint in a workflow

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

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 BigQuery API reference.

POST /projects/{projectId}/queries

Run a SQL query

DetailValue
Operation IDdatabase.queryJob
MethodPOST
Path/projects/{projectId}/queries

Parameters

No parameters.

Using this endpoint in a workflow

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

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 BigQuery API reference.

GET /projects/{projectId}/jobs

List jobs

DetailValue
Operation IDdatabase.listJobs
MethodGET
Path/projects/{projectId}/jobs

Parameters

No parameters.

Using this endpoint in a workflow

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

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 BigQuery API reference.

GET /projects/{projectId}/jobs/{jobId}

Get job details

DetailValue
Operation IDdatabase.getJob
MethodGET
Path/projects/{projectId}/jobs/{jobId}

Parameters

No parameters.

Using this endpoint in a workflow

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

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 BigQuery API reference.

POST /projects/{projectId}/jobs/{jobId}/cancel

Cancel a job

DetailValue
Operation IDdatabase.cancelJob
MethodPOST
Path/projects/{projectId}/jobs/{jobId}/cancel

Parameters

No parameters.

Using this endpoint in a workflow

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

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 BigQuery API reference.

GET /projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data

List table data

DetailValue
Operation IDdatabase.listTableData
MethodGET
Path/projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data

Parameters

No parameters.

Using this endpoint in a workflow

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

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 BigQuery API reference.