Validate field values against lookup table and log time
Recipe ToolsMarketing
What it does
When a scheduled interval occurs, this automation retrieves email domains from a lookup table and checks if a field contains any of those values. It captures the current time in workspace timezone so someone has both the validation result and when it ran.
Who it's for
Operations teams who need to validate data against a lookup table on a schedule and track when each check completed.
How teams use this
Validate email domains on schedule
Run a nightly check to see if email addresses in a field match any domain in the lookup table, and log the timestamp of each validation. The team gets a record of which checks passed and when they ran.
Monitor data quality across systems
Extend this automation to check multiple fields or add a notification step so someone is alerted when a field does not match any approved value in the lookup table. Only the condition and alert step need to be added.
Audit compliance on a cadence
Use the lookup table to enforce a list of approved domains for a compliance requirement and run the check weekly. The timestamp shows when the audit ran and whether the field passed validation.
How it works
- Run on a specified interval. This automation runs on a schedule you set, like daily or hourly, to validate field values against your lookup table.
- Retrieve Email Domains lookup table. Fetch all values from the Email Domains lookup table in batch so the automation has the complete list of domains to match against.
- Set up variables for comparison. Create the value to evaluate and the values to check for so the pattern match can compare them in the next step.
- Capture the current time. Retrieve the current time in your workspace timezone so the result includes the exact moment the field validation was performed.