Sync Google Sheets rows to Snowflake with custom SQL

Document/FileDatabase

What it does

When someone adds or updates a row in Google Sheets, this automation runs custom SQL in Snowflake. Multiple sheet changes are processed together in batch mode so data syncs efficiently.

Who it's for

Data and analytics teams who need to sync Google Sheets updates into Snowflake without manual SQL queries.

How teams use this

Sync survey responses to the data warehouse

When someone submits a Google Form that populates a sheet, this automation runs SQL to insert those responses into Snowflake for analysis. The team gets fresh data without manual imports.

Update customer records from a sheet

Sales operations updates a Google Sheet with new customer details, and this automation runs SQL to sync those changes into Snowflake. The warehouse stays current with the source of truth.

Filter rows before running SQL

Add a condition to only run SQL when a specific column in the sheet meets a value, such as status equals approved. This ensures only validated data reaches Snowflake.

Enrich sheet data with warehouse lookups

Include a SQL query that joins sheet data with existing Snowflake tables to add missing fields or validate information. The enriched records are then inserted back into the warehouse.

How it works

  1. Detect new or updated row. Monitor a Google Sheets spreadsheet for new rows or changes to existing rows in real time so the automation responds immediately.
  2. Run custom SQL in Snowflake. Execute custom SQL queries in Snowflake to process the sheet data, such as inserting, updating, or transforming records in batch mode.
  3. Process additional SQL operations. Run a second batch SQL operation in Snowflake to handle complex transformations or load data into multiple tables from the sheet changes.