Sync deleted customers from Google Sheets

Utilities

What it does

When a new row is added to a Google Sheets spreadsheet, this automation looks up customer data in a lookup table. The result is logged back to the sheet, and if an error occurs, the job stops without retry so the issue can be reviewed.

Who it's for

Operations teams who track deleted customers and need to verify data integrity without manual lookups.

How teams use this

Verify deleted customer records

When a customer is marked for deletion, add their ID to the sheet and this automation confirms whether they exist in the lookup table. The team reviews any mismatches to ensure data accuracy.

Check multiple lookup tables by type

Extend this automation to validate against different sources by adding a condition that routes each row to the correct lookup table based on customer type. This keeps all customer records in one sheet while checking multiple sources.

Alert the team on lookup failures

Retarget this automation to send a Slack notification when an error stops the job, so the team knows immediately which customer record needs attention instead of checking the sheet manually.

How it works

  1. Detect a new customer row. A new row is added to the Google Sheets spreadsheet in real time, starting this automation to process the customer record.
  2. Look up customer details. Search the lookup table for matching customer data using the row information to retrieve account details and status.
  3. Log the result to the sheet. Add a new row in Google Sheets with the lookup result so the team can see whether the customer data was found or flagged as deleted.
  4. Stop on error without retry. If an error occurs during lookup, the job stops immediately and does not retry, allowing the team to investigate the issue.