Sync Google Sheets rows to a lookup table
Developer ToolAPI IntegrationRecipe ToolsDocument/File
What it does
When a row is added or updated in Google Sheets, this automation searches for matching rows in that sheet. It updates a lookup table with the results and logs the sync status to the job report.
Who it's for
Data and analytics teams who need to keep a lookup table in sync with Google Sheets without manual updates.
Apps used
How teams use this
Keep a lookup table current
When Google Sheets rows change, the lookup table updates automatically in real time. The team no longer needs to manually refresh or copy data between systems.
Audit row changes in a report
Each sync logs the status of every row to the job report so someone can track what changed and when. This creates a record for compliance or troubleshooting.
Filter rows by a condition before syncing
Add a condition to the search query so only rows that meet certain criteria are synced to the lookup table. This keeps the lookup table focused on the data that matters most.
Sync to multiple lookup tables
Set up separate branches after the search so different row types go to different lookup tables. This requires adding a condition to route each row to the right table.
How it works
- Detect a new or updated row. A webhook sends a real-time notification when someone adds or updates a row in Google Sheets so the sync begins immediately.
- Search for matching rows. Search for rows in the selected Google Sheets sheet using a query to find all entries that match the updated row criteria.
- Update the lookup table. For each matching row found, update or create an entry in the lookup table with the row data so it stays current with the source.
- Log the sync status. Send the final status of all rows and updates to the job report via HTTP webhook so someone can see what was synced.