Sync Google Sheets rows with conditional updates

Document/File

What it does

When a row is added or updated in Google Sheets, this automation searches for matching rows based on a query. If matches are found, it updates specific rows; otherwise, it skips the update step.

Who it's for

Operations teams who need to keep Google Sheets data synchronized based on row changes and conditions.

Apps used

How teams use this

Deduplicate entries across sheets

When someone adds a row, search for duplicates by email or ID. Update duplicate rows to mark them as inactive so the sheet stays clean without manual review.

Sync inventory counts in real time

Monitor a product inventory sheet for quantity changes. Search for all product code matches and update their stock levels so every reference stays current across the sheet.

Add conditional status updates

Extend the search to filter rows by date range or status before updating. Only rows meeting those conditions are modified, giving the team more control over which records change.

Notify teams of bulk row changes

When multiple rows are updated at once, send a summary to a team channel so everyone knows what changed. Include the count of rows modified and which columns were updated.

How it works

  1. Monitor for new or updated rows. A new row is added to or an existing row is updated in a Google Sheets spreadsheet, triggering this automation in real time.
  2. Search for matching rows. Query the sheet in Google Sheets to find rows that match specific criteria, returning a list of results to evaluate in the next step.
  3. Update rows when matches exist. If the search found more than one matching row, update those rows with new values in Google Sheets. If no matches or only one row exists, skip this step.