Log duplicate entries from lookup table every 5 minutes

Recipe ToolsMarketingDeveloper Tool

What it does

When the clock triggers every 5 minutes, this automation retrieves all entries from the duplicates lookup table. The Py Eval code processes those entries and logs them to the job report so someone can monitor duplicates without manual checks.

Who it's for

Data and analytics teams who need to track duplicate entries in their lookup tables regularly.

How teams use this

Monitor duplicates on a regular schedule

Check the duplicates lookup table every 5 minutes and log results to the job report. The team reviews the report anytime to see which records are flagged as duplicates.

Alert when duplicate count exceeds threshold

Add a condition to the Python code that checks if the number of duplicates passes a limit. Only log to the report when that threshold is met so alerts stay relevant.

Export duplicates to a data warehouse

Send the logged duplicate entries to a data warehouse or analytics tool for deeper analysis. The automation stays on the same schedule and only the destination changes.

How it works

  1. Start on a 5-minute schedule. The clock begins this automation every 5 minutes so duplicate entries are checked continuously throughout the day.
  2. Retrieve all duplicate entries. Fetch all entries from the duplicates Lookup Table so the full set of records is available for the next step.
  3. Execute Python code to process duplicates. Run the dupes Python code in Py Eval to analyze and prepare the duplicate entries for logging to the job report.
  4. Log results to job report. Write the processed duplicate entries to the job report so someone can see which records were found in this run.