Generate unique objects from duplicate lists
Recipe ToolsData ParserMarketingUtilities
What it does
When someone calls this function, it processes a list of objects to identify and return only the unique entries. The automation filters duplicates using formulas and outputs a clean list for downstream use.
Who it's for
Data and analytics teams who need to deduplicate object lists without manual review.
How teams use this
Deduplicate customer records before sync
Extract unique customer objects from a list before syncing to a CRM so duplicate entries do not overwrite clean data. The formula filters by all key-value pairs to catch exact matches.
Pull unique email addresses for outreach
Filter a list of contact objects to return only unique email values so a marketing campaign does not send duplicate messages. The formula targets a single key and removes redundant entries.
Add filtering by multiple keys
Extend the function to check uniqueness across two or more keys at once, such as email and company name, so partial duplicates are also caught. Include an additional parse step with a compound filter condition.
How it works
- Call the function with a list. Invoke this function in real time with a list of objects that may contain duplicate entries so the automation can process them.
- Filter for unique objects. Parse the document and apply a formula to extract only unique objects from the list, removing all duplicates using the Json Parser.
- Extract unique values by key. Parse the document again to filter and return unique values for a specified key across all objects in the list using the Json Parser.
- Return the deduplicated result. Send back the cleaned list of unique objects or unique key values so the calling workflow can use the output immediately.