Log Reltio completeness metrics weekly

Recipe ToolsMarketingData ParserUtilities

What it does

When the scheduled time arrives each week, this automation reads entity types from a lookup table and calls a function to calculate data completeness for each one. It logs results and sends an email if an error occurs.

Who it's for

Data and analytics teams who track Reltio data quality metrics on a recurring basis.

How teams use this

Track data quality over time

Collect completeness scores every week and store them in Google Sheets to build a time series report. The team can see trends and identify when data quality drops.

Monitor multiple entity types at once

Edit the lookup table to include any number of Reltio entities and their filter conditions. Each one is measured in a single run without changing the automation logic.

Route metrics to a data warehouse

Modify the SaveCompletenessPercentage function to write completeness scores to Snowflake instead of email or sheets. The schedule and measurement stay the same.

Alert on low completeness scores

Add a condition to the SaveCompletenessPercentage function to check if completeness falls below a threshold and send an alert only when that happens. The weekly collection continues as normal.

How it works

  1. Run on a weekly schedule. Execute every Sunday at 1:00 AM to gather completeness metrics at a consistent time each week.
  2. Parse the entity metadata from CSV. Read the lookup table with Csv Parser to extract each Reltio entity type and its filter condition so the automation knows which entities to measure.
  3. Calculate completeness for each entity. Call the GetCompletenessPercentage function for each entity to retrieve the completeness score, total record count, and complete record count.
  4. Save metrics to Google Sheets or Snowflake. Call the SaveCompletenessPercentage function to write each completeness score to Google Sheets, Snowflake, or send it by email for reporting and archival.
  5. Send error notification if needed. If an error occurs during the run, send an email alert so the team knows the metrics were not collected that week.