View Categories

Google Sheets BigQuery Integration – Sync Live Database Data Automatically

9 min read

INTEGRATION

BigQuery Google Sheets

BigQuery BigQuery
Query Streams Query Streams
Google Sheets Google Sheets
Zero Code
Easy Setup
Fast

Query Streams enables seamless Google Sheets BigQuery integration, automatically syncing live BigQuery data to your Google Sheets sheets. Sign up for free at QueryStreams.com and start automating your BigQuery to Google Sheets data pipelines in minutes.

This guide shows you how to set up automated data synchronization from BigQuery to Google Sheets using Query Streams. Whether you need to keep project management sheets updated with database records, sync inventory data to collaborative workspaces, or automate reporting workflows, Query Streams provides a secure, no-code solution for BigQuery to Google Sheets integration.

Scheduled Automation

Sync hourly, daily, or on custom schedules

Secure by Design

Credentials stay on your network

Lightning Fast

Optimized data streaming

Smart Sync

Insert, update, delete automatically

What is Google Sheets BigQuery Integration?

Google Sheets BigQuery integration connects your BigQuery database to Google Sheets, enabling automatic data synchronization without manual exports or imports. Query Streams acts as a secure bridge between your database and Google Sheets, running saved SQL queries on a schedule and pushing the results directly to your sheets.

Key capabilities:

  • Automated sync: Schedule queries to run hourly, daily, or on custom intervals
  • Full sync mode: Insert new rows, update existing rows, and remove deleted records automatically
  • Append mode: Add new records without modifying existing data (ideal for logs and history)
  • Secure connection: Your database credentials stay protected within your network
  • No coding required: Configure everything through the Query Streams web portal

Prerequisites

1

Query Streams Agent Installed

The agent must be running on your network with access to your BigQuery database.

Install the Query Streams Agent →
2

BigQuery Data Source Configured

Your BigQuery database should be added as a data source in the agent.

Connect BigQuery to Query Streams →
3

Google Sheets Account

A Google Sheets account with API access (available on Business and Enterprise plans, or via free trial).

4

Saved Query

At least one saved query in Query Streams that returns the data you want to sync.

Step 1: Create Your BigQuery Query

1
2
3
4
5
6
7

Before setting up the integration, you need a saved query that returns the data you want to sync to Google Sheets.

  1. Log into the Query Streams portal: Visit my.querystreams.com and sign in
  2. Open the Query Builder: Navigate to the Query Builder from the dashboard
  3. Select your BigQuery data source: In the Data Explorer sidebar on the left, expand your Data Realm, then select your BigQuery connector and choose the database you want to query
  4. Write your SQL query: Create the query that returns the data you want to sync
BigQuery Query Example SQL
SELECT 
    order_id,
    customer_name,
    order_date,
    total_amount,
    status
FROM orders
WHERE order_date >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 30 DAY)
ORDER BY order_date DESC
LIMIT 1000;
  1. Test and save: Run the query to verify results, then save it with a descriptive name like “Recent Orders for Google Sheets”
Pro Tip: If you plan to use Full Sync mode, ensure your query includes a unique identifier column (like order_id) that Google Sheets can use to match rows.

Step 2: Create the Google Sheets Integration

2
3
4
5
6
7

Now you’ll connect your saved query to Google Sheets through the Automation feature.

  1. Navigate to Automation: In the Query Streams portal, click Automation in the left sidebar
  2. Create new integration: Click New Integration to start the setup wizard
  3. Select your saved query: Choose the BigQuery query you created in Step 1
  4. Choose Google Sheets as destination: Select Google Sheets from the list of available platforms

Step 3: Connect Your Google Sheets Account

3
4
5
6
7

Query Streams uses OAuth to securely connect to your Google Sheets account. This is a simple one-click authorization that grants Query Streams permission to write data to your spreadsheets.

A

Authorize Google Sheets via OAuth

  1. Click Connect Google Sheets in Query Streams
  2. Sign in with your Google account when prompted
  3. Review and accept the permission request
  4. Query Streams will receive authorization
  5. You’ll be redirected back to Query Streams
B

Confirm Connection

Query Streams will confirm the OAuth connection is established

C

Start Using

Your Google Sheets account is now connected and ready to receive data

Step 4: Select Your Destination Sheet

4
5
6
7

Choose where your BigQuery data will be synced in Google Sheets.

  1. Browse your sheets: Query Streams will display your available Google Sheets sheets and workspaces
  2. Select a sheet: Choose an existing sheet to sync data to, or select Create new sheet
  3. Column mapping: Query Streams will automatically map your SQL query columns to Google Sheets columns. Review and adjust if needed.
Tip: If creating a new sheet, Query Streams will automatically create columns based on your query results.

Step 5: Configure Sync Mode

5
6
7

Choose how Query Streams should handle data synchronization.

+

Append Mode

Best for logs & history
  • Adds new rows to the bottom
  • Never modifies existing rows
  • Never deletes data
  • Preserves historical records
Ideal for: Audit logs, transaction history, event tracking, time-series data

Full Sync Mode

Popular
Best for live data
  • Inserts new records
  • Updates changed records
  • Deletes removed records
  • Requires key column
Ideal for: Inventory, master data, active records, dashboards

Key Column Selection: If using Full Sync mode, select the column that uniquely identifies each row. This column must exist in both your SQL query results and your Google Sheets sheet.

Column Sync Behavior (SYNC vs PRESERVE)

For each column in your field mapping, choose how Query Streams should handle it during sync:

SYNC (Default)

Source value always overwrites target

Use for: Data columns that should match your database exactly (order status, totals, dates)

PRESERVE

Target value is never overwritten

Use for: Columns where you add manual notes, assignments, or status updates in Google Sheets
Example: Syncing Orders with Team Notes
Source Columns (from BigQuery)
  • order_id – Key field
  • customer_name – SYNC
  • status – SYNC
  • total – SYNC
User-Added Columns (in Google Sheets)
  • Assigned To – PRESERVE
  • Notes – PRESERVE
  • Priority – PRESERVE
Result: Every sync updates order data from the database while preserving your team’s notes and assignments.

Step 6: Set Your Sync Schedule

6
7

Configure when Query Streams should sync data from BigQuery to Google Sheets.

Manual Run syncs on-demand only
Every 5 MinutesHigh-frequency sync for real-time data
Every 10 MinutesNear real-time updates
Every 15 MinutesFrequent sync for active data
🕑
Hourly Sync every hour
📅
DailySync once per day at specified time
Custom Set specific days and times

Step 7: Review and Activate

7
  1. Review configuration: Verify all settings including query, destination, sync mode, and schedule
  2. Name your integration: Give it a descriptive name like “Orders to Google Sheets Daily Sync”
  3. Activate: Click Create Integration to save and activate
  4. Run initial sync: Click Run Now to perform the first synchronization and verify everything works

Congratulations!

Your BigQuery to Google Sheets integration is now live. Data will sync automatically according to your schedule.

Monitoring Your Integration

After activation, you can monitor your Google Sheets BigQuery integration from the Automation dashboard:

🕑

Last Sync Time

See when data was last synchronized

📊

Rows Synced

View counts of inserted, updated, and deleted rows

🔔

Error Alerts

Get notified if a sync fails

📃

Sync History

Review past sync operations and their results

Common Use Cases for Google Sheets BigQuery Integration

💼

Project Management

Sync project data, milestones, and resource allocations from your BigQuery database to Google Sheets for team collaboration and visibility.

💰

Sales Pipeline

Keep your sales team’s Google Sheets updated with the latest opportunities, deals, and customer information from your CRM database.

📦

Inventory Tracking

Automatically update inventory levels, stock counts, and product information in Google Sheets for warehouse and operations teams.

📈

Financial Reporting

Sync budget data, expense reports, and financial metrics to Google Sheets for executive dashboards and stakeholder reporting.

👥

HR and Operations

Keep employee directories, department rosters, and organizational data synchronized between your HRIS database and Google Sheets.

Beyond spreadsheets: REST API + AI MCP for BigQuery

Already pulling BigQuery into a spreadsheet? The same saved query can also be a live REST endpoint for a partner — or an MCP server your AI tools can query in plain English. Same Network Agent, same credentials, two new audiences.

REST API Database REST API Hand a partner one URL, not your credentials. Flip any saved BigQuery query into a versioned REST endpoint. Mint a per-recipient key, set rate limits, expire on a call budget — revoke any one partner without touching the others. Expose BigQuery as a REST API or read the Instant REST API overview
MCP Claude Cursor ChatGPT Grok AI Database MCP Ask Claude, Cursor, ChatGPT or Grok about your BigQuery. Plug your AI assistant into the same BigQuery source via the Model Context Protocol. Read-only by construction, schema-aware out of the box, no SQL to write — your model writes it for you. Connect BigQuery to Claude via MCP or read the MCP Server overview

Frequently Asked Questions

How often can I sync data from BigQuery to Google Sheets? +

Query Streams supports sync schedules from every hour to custom intervals. For most use cases, daily or hourly syncs provide a good balance between data freshness and system resources.

🔒 Is my BigQuery data secure during sync? +

Yes. Your database credentials remain protected within your network through the Query Streams agent. Data is encrypted in transit, and your Google Sheets API token is stored securely. Query Streams never stores your raw database data.

What happens if a sync fails? +

Query Streams will retry failed syncs and notify you of persistent errors. You can view error details in the sync history and manually trigger a retry once the issue is resolved.

📂 Can I sync to multiple Google Sheets sheets from the same BigQuery database? +

Yes. Create separate integrations for each destination sheet. Each integration can use a different SQL query, sync mode, and schedule.

Does this work with cloud BigQuery services? +

Yes. Query Streams supports all BigQuery variants including Amazon RDS for BigQuery, Azure Database for BigQuery, Google Cloud SQL for BigQuery, Heroku bigquery, and self-hosted instances.

Updated on June 3, 2026

Powered by BetterDocs