Automate BigQuery
Put your BigQuery tables to work on a schedule. Saved queries run and land in your inbox, metrics that cross a limit trigger an alert, stale tables get flagged, and API data is appended to a table so you build a history. Describe what you want to your AI assistant, check what it will do, and it keeps running with your laptop closed.
Try asking
Create a ClickRuntime automation: every hour, fetch account balances from https://api.example.com/v1/balances and insert them as rows into analytics.balance_history in BigQuery with a fetched_at timestamp.
Paste it into your assistant. It tells you what it will send or change before it runs live.
Ideas
What you can automate in BigQuery
Save API snapshots to a BigQuery table
Data from an API is appended to your table with a timestamp on each run, building a history you can query.
See how it worksAsk your data questions in plain English
You send a question and get the answer from your tables by email, without writing SQL.
See how it worksGet your KPI query results every morning
Your saved SQL runs each morning and the results arrive as a table in your inbox.
See how it worksGet alerted when a metric crosses a limit
A query runs every hour and you hear in Slack as soon as the value passes your threshold.
See how it worksHear when a table stops updating
Each morning you're told if a table hasn't changed in the last day, so broken pipelines get noticed.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with BigQuery, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any BigQuery automation you can describe
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
For example, ask your assistant
Every morning at 6, run my BigQuery query for yesterday's signups and alert me if the count is less than half of the 7-day average.
Every Monday, run my BigQuery revenue query and write the results to my Revenue sheet in Google Sheets.
Every day, run my BigQuery query for accounts with no logins in 14 days, add them to my At Risk sheet in Google Sheets and post the top 10 by revenue in #success on Slack.
Beyond chat
Have BigQuery work when you're not in the chat
Instant
Ask your data questions in plain EnglishThe moment it happens
On a schedule
Save API snapshots to a BigQuery tableEvery minute to daily
On a schedule
Get your KPI query results every morningDaily
Setup
Connect BigQuery
You connect BigQuery with a service account in your own Google Cloud project. Its IAM roles decide whether it can only read datasets or also write rows.
BigQuery
Data warehouse
- In Google Cloud Console, go to IAM & Admin, Service Accounts, and create a service account.
- Grant it
BigQuery Job Useron the project, plusBigQuery Data Viewerto read orBigQuery Data Editorto insert rows. - Under Keys, choose Add key, then JSON, and download the key file.
- In the ClickRuntime dashboard, open Connections & secrets, upload the JSON key and enter your project ID.
Good to know
BigQuery limits that affect automations
- On-demand queries are billed by the data they scan. Automations can cap the bytes a query may bill, and selecting only the columns you need keeps the cost down.
BigQuery Job Usercan only be granted for a whole project, while Data Viewer and Data Editor can be limited to single datasets.- Reading table metadata, as the freshness check does, doesn't run a query.
- Google advises against the broad Owner, Editor and Viewer roles in production, so give the service account only the BigQuery roles above.
- The shortest schedule is every 5 minutes.
FAQ
Questions about automating BigQuery
What can ClickRuntime see in BigQuery?
Will the automations cost me money in BigQuery?
Can I ask questions without writing SQL?
Can I limit access to one dataset?
Do I need AI for BigQuery automations?
Is this a BigQuery connector for ChatGPT or Claude?
Related pages
Keep exploring