Sync new Google Sheets rows with conditional updates
Utilities
What it does
When someone adds a row to a Google Sheets spreadsheet, this automation searches for matching rows in that sheet. It updates rows based on whether the is_credit field is true, keeping data consistent.
Who it's for
Operations teams who need to maintain data accuracy in Google Sheets without manual row management.
Apps used
How teams use this
Keep credit records synchronized
When a new row marks a transaction as credit, the automation finds related rows and updates them to maintain consistency across the sheet without manual intervention.
Route rows by credit status
Extend this automation to add a second update step that routes credit rows to one sheet and non-credit rows to another based on the is_credit condition.
Audit data changes in real time
Include a logging step to capture which rows changed and why, giving the team a record of every modification triggered by new entries in Google Sheets.
How it works
- Detect a new spreadsheet row. A new row is added to the selected sheet in Google Sheets and this automation runs in real time to process it.
- Search for matching rows. Search the sheet in Google Sheets for rows that match the query criteria so duplicates or related records can be identified and handled appropriately.
- Update rows based on credit status. Check if the is_credit field is true. When it is, update the row using its row ID in Google Sheets. When it is not, update the row differently to reflect the correct status.