Sync Google Sheets rows to Snowflake
Document/FileDatabase
What it does
When someone adds or updates a row in Google Sheets, this automation searches Snowflake for a matching record. It updates the existing row or inserts a new one to keep both systems in sync.
Who it's for
Data and analytics teams who maintain metrics in both Google Sheets and Snowflake.
Apps used
How teams use this
Keep metrics current across systems
Update Snowflake whenever the sheet changes so dashboards and reports always reflect the latest metrics without manual sync or duplicate records.
Sync metrics from multiple departments
Add rows from different departments to Google Sheets and have each one automatically inserted into Snowflake so the warehouse stays complete as the team grows.
Filter rows by department before syncing
Add a condition to only sync rows where the department matches a specific value, so each Snowflake table receives only the metrics it needs.
Include timestamps on synced records
Set the sync timestamp field in Snowflake when rows are updated or inserted so the team can track when each metric was last refreshed from the sheet.
How it works
- Monitor for new or updated rows. A new row is added to the sheet or an existing row is updated in real time, triggering this automation immediately.
- Search for the matching record. Query the primary metrics table in Snowflake to find a row with the same test name from the Google Sheets row that was added or changed.
- Update or insert the row. If a matching record exists in Snowflake, update it with the new values from Google Sheets. If no match is found, insert the sheet row as a new record in the table.