Sync deployment recipient emails to lookup table

Recipe ToolsMarketingDocument/FileSales EnablementDatabaseUtilities

What it does

When the clock triggers every 5 minutes, this automation retrieves email addresses from Google Sheets and syncs them to a lookup table. The lookup table stays current with deduplicated recipients so downstream processes always reference the latest list.

Who it's for

Operations teams who maintain deployment mailing lists and need them synced from a spreadsheet.

How teams use this

Keep mailing lists current without manual work

Pull recipient emails from Google Sheets every 5 minutes and sync them to a lookup table. The team always has a fresh list without opening the spreadsheet or the table.

Prevent duplicate emails in deployment sends

Deduplicate emails as they sync so each recipient appears only once in the lookup table. Downstream sends use this clean list to avoid sending twice to the same address.

Add a filter for active recipients only

Include a status column in Google Sheets and filter rows where status is active before syncing to the lookup table. Only current recipients are added to the mailing list.

Extend the sync to multiple sheets

Set up the automation to pull from multiple Google Sheets tabs and merge all recipient emails into one deduplicated lookup table. This lets different teams maintain their own sheets while feeding a single mailing list.

How it works

  1. Run every 5 minutes. The automation runs on a 5-minute schedule to keep the lookup table fresh with the latest email addresses from the spreadsheet.
  2. Fetch rows from Google Sheets. Retrieve all rows from the spreadsheet that contain recipient email addresses for the deployment mailing list in batches.
  3. Build deployments and templates lists. Create two lists from the sheet rows to organize deployments and templates for batch processing and deduplication logic.
  4. Update lookup table with unique emails. For each row, search the lookup table for duplicates, delete old entries, and add the current email so the list stays deduplicated.