Send Gmail alerts for duplicate rows in Google Sheets

Document/FileRecipe ToolsProductivity

What it does

When someone adds or updates a row in Google Sheets, this automation searches the sheet for duplicates. It sends an email via Gmail for each duplicate found so the team can review and clean up the data.

Who it's for

Data and analytics teams who need to catch duplicate entries in Google Sheets without manual review.

Apps used

How teams use this

Flag duplicate customer records

When a new customer row is added to the sheet, the automation searches for any existing rows with the same email or phone number and emails the team to merge or delete the duplicate.

Monitor data quality in a shared sheet

Set up the automation on a team intake sheet so duplicates are caught and reported immediately, keeping the source of truth clean without manual spot checks.

Add custom duplicate logic by column

Extend the query to check only specific columns for duplicates, such as order ID or project name, so the team only gets alerts for the duplicates that matter most.

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 Sheet, triggering this automation in real time.
  2. Search the sheet for duplicates. Query the sheet in Google Sheets to find all rows that match the values in the new or updated row, surfacing potential duplicates for review.
  3. Send an alert email for each duplicate. For each duplicate row found, send an email via Gmail to notify the team of the match and the row details.