What it is for
The Google BigQuery component lets you query, insert, update and delete data in BigQuery from flooows. It is useful for loading app events into your warehouse, looking up records or starting processes when a query finishes.
Triggers check BigQuery periodically every few minutes and start the flow for each new or updated row or when a query job completes.
Set up the connection
Authentication type: OAuth 2.0 (sign in with your account) · Custom credentials
- 1Add a Google BigQuery step and click "Connect".
- 2With OAuth, sign in with your Google account and grant BigQuery access.
- 3For production flows you can use a service account: in Google Cloud Console > IAM > Service Accounts create one, give it BigQuery roles (for example Data Editor and Job User) and download a JSON key.
- 4Paste the full JSON content into "Service Account JSON" and save.
| Connection field | Type | Required |
|---|---|---|
| Markdown | MARKDOWN | No |
| Service Account JSON | Text | Yes |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- "Run a Query" runs the "SQL Query" in the selected "Project"; set "Location" if your dataset is not in the default location.
- "Create Row" takes "Row Values" with mapped columns; "Create Rows" inserts a whole array.
- "Update Row(s)" and "Delete Rows" require a "WHERE Clause"; test it first with "Find One Row".
- "Find or Create Record" prevents duplicates when syncing.
Tips
- •Service accounts do not expire like a personal sign-in.
- •Enable "Ignore Unknown Fields" when source data carries extra columns.
- •Limit "Max Rows" to keep output size under control.
Triggers (4)
Events that can start a flow. Expand each one to see its fields.
New RowPeriodic check5 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| Dataset | List (from your account) | Yes |
| Table | List (from your account) | Yes |
| Sort Column | Text | Yes |
| Max Rows per Check | Number | No |
Updated RowPeriodic check6 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| Dataset | List (from your account) | Yes |
| Table | List (from your account) | Yes |
| Updated At Column | Text | Yes |
| Created At Column (optional) | Text | No |
| Max Rows per Check | Number | No |
Query Job Completed (With Row Data)Periodic check2 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| Max Rows per Job | Number | No |
New Job CompletedPeriodic check2 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| Include Failed Jobs | Yes / No | No |
Actions (10)
Operations available as flow steps. Expand each one to see its fields.
Run a Query5 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| SQL Query | Long text | Yes |
| Max Rows | Number | No |
| Location | Text | No |
| Use Legacy SQL | Yes / No | No |
Create Row4 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| Dataset | List (from your account) | Yes |
| Table | List (from your account) | Yes |
| Row Values | Dynamic fields | Yes |
Create Rows6 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| Dataset | List (from your account) | Yes |
| Table | List (from your account) | Yes |
| Rows | JSON | Yes |
| Skip Invalid Rows | Yes / No | No |
| Ignore Unknown Fields | Yes / No | No |
Delete Rows5 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| Dataset | List (from your account) | Yes |
| Table | List (from your account) | Yes |
| WHERE Clause | Long text | Yes |
| Location | Text | No |
Update Row(s)6 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| Dataset | List (from your account) | Yes |
| Table | List (from your account) | Yes |
| SET Expression | Long text | Yes |
| WHERE Clause | Long text | Yes |
| Location | Text | No |
Find One Row6 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| Dataset | List (from your account) | Yes |
| Table | List (from your account) | Yes |
| WHERE Clause | Long text | Yes |
| ORDER BY | Text | No |
| Location | Text | No |
Find or Create Record6 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| Dataset | List (from your account) | Yes |
| Table | List (from your account) | Yes |
| WHERE Clause | Long text | Yes |
| Row to Create (if not found) | JSON | Yes |
| Location | Text | No |
Get Rows for Job Completed4 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| Job ID | Text | Yes |
| Max Rows | Number | No |
| Location | Text | No |
Import Data6 fields
| Field | Type | Required |
|---|---|---|
| Project | List (from your account) | Yes |
| Dataset | List (from your account) | Yes |
| Table | List (from your account) | Yes |
| Data | JSON | Yes |
| Skip Invalid Rows | Yes / No | No |
| Ignore Unknown Fields | Yes / No | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
"Access Denied" or insufficient permissions.
Grant BigQuery roles to the account or service account on the project and dataset.
Dataset not found in location.
Set the correct "Location" (for example EU or europe-southwest1).
Rows rejected on insert.
Check column types and names or enable "Skip Invalid Rows".
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
