Sync lookup tables to Google Sheets every 5 minutes
Recipe ToolsMarketingData ParserUtilitiesDocument/FileSales Enablement
What it does
When the clock triggers every 5 minutes, this automation retrieves all entries from two lookup tables and matches them by email. The combined data saves to Google Sheets so the sheet always reflects the latest matched records.
Who it's for
Data and analytics teams who need lookup table data synced to Google Sheets on a schedule.
How teams use this
Keep a master contact sheet current
Combine customer data from two lookup tables by email and sync to a Google Sheet every 5 minutes. The sheet becomes a single source of truth for matched records across both systems.
Feed a reporting dashboard with fresh data
Sync the combined lookup table data to Google Sheets on schedule so a dashboard or report always pulls the latest matched records without manual refresh.
Filter matches by a second condition
Add a condition to the email match so only rows where a status field equals active are included in the combined data. This narrows the sheet to only the records the team needs.
How it works
- Trigger every 5 minutes. This automation runs on a 5-minute schedule to keep the Google Sheet current with the latest lookup table entries.
- Retrieve entries from part1 lookup table. Fetch all entries from the first lookup table in batch mode so all records are available for matching by email address.
- Retrieve entries from part2 lookup table. Fetch all entries from the second lookup table in batch mode to prepare for the email match with the first table.
- Match rows by email and format as CSV. Compare both lookup tables by email address, combine rows where emails match, and format the result as CSV data for Google Sheets.
- Add rows to Google Sheets. Write the combined CSV data as multiple rows into the Google Sheet in batch mode so the sheet reflects the latest matched records.