Sync Google Sheets data to Snowflake daily
Recipe ToolsMarketingDocument/FileSales EnablementDatabase
What it does
When a scheduled time arrives each day at 9:00 AM, this automation fetches all rows from Google Sheets and inserts each one into Snowflake. The data moves automatically on schedule so the warehouse stays current with the sheet.
Who it's for
Data and analytics teams who need Google Sheets data in Snowflake without manual exports.
How teams use this
Move sheet data to the warehouse
Run the sync every morning so analysts query fresh Google Sheets data in Snowflake without waiting for manual uploads. The team works with current information by default.
Sync multiple sheets to one table
Point this automation at a different Google Sheets tab or workbook so more data sources feed into Snowflake. The same schedule and structure work for each sheet.
Filter rows before inserting to Snowflake
Add a condition to check each row so only records matching certain criteria insert into the warehouse. For example, only sync rows where a status column equals active.
Enrich records with timestamps and metadata
Include additional fields like creation date and data source identifier when inserting rows into Snowflake. This ensures the warehouse tracks when each record was synced and where it originated.
How it works
- Run on a daily schedule. This automation starts every day at 9:00 AM so the sync happens at a consistent time.
- Fetch all rows from the sheet. Get all rows from Google Sheets so each record is ready to move into the data warehouse.
- Insert each row with extracted fields. For each row, extract the name and favorite color into variables, add a timestamp, then insert the record into a Snowflake table.