Create Table
bigquery.create_table
ActionDatabases & warehousesconnection required
Calls the BigQuery API POST .../datasets/{dataset}/tables.
Create a BigQuery table from a JSON schema of {name, type, mode} fields.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google BigQuery
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- project_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
5 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
project_id GCP project id (overrides connection). | string | No | — | — | — |
dataset Id of the dataset to act on, from bigquery.list_datasets — not its name. | string | Yes | — | — | — |
table Id of the table to act on, from bigquery.list_tables — not its name. | string | Yes | — | — | — |
schema Columns as {"name", "type", "mode"} (mode: NULLABLE, REQUIRED, REPEATED). BigQuery will not create a table with no columns. | array | Yes | — | ≥ 1 characters; array of object | [{"mode":"REQUIRED","name":"id","type":"STRING"}] |
description Free text shown on the table in BigQuery; blank leaves it unset. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"schema": [
{
"mode": "REQUIRED",
"name": "id",
"type": "STRING"
}
]
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
table | string | — |
schema | array | — |
{
"ok": false,
"schema": [],
"table": ""
}See Create Table run in a workflow.
In a technical demo we add the Google BigQuery connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.