This workflow compares two lists of objects (List A and List B) using a user-specified key (e.g. email, id, domain) and returns: - Items common to both lists (based on the key) - Items only in List A - Items only in List B How it works: 1. Accepts a JSON input containing: - listA: the first list of items - listB: the second list of items - key: the field name to use for comparison 2. Performs a field-based comparison using the specified key 3. Returns a structured output: - common: items wit

This workflow compares two lists of objects (List A and List B) using a user-specified key (e.g. email, id, domain) and returns: - Items common to both lists (based on the key) - Items only in List A - Items only in List B How it works: 1. Accepts a JSON input containing: - listA: the first list of items - listB: the second list of items - key: the field name to use for comparison 2. Performs a field-based comparison using the specified key 3. Returns a structured output: - common: items with matching keys (only one version retained) - onlyInA: items found only in List A - onlyInB: items found only in List B Example Input: Output: - common: [ { "email": "bob@example.com", "name": "Bob" } ] - onlyInA: [ { "email": "alice@example.com", "name": "Alice" } ] - onlyInB: [ { "email": "carol@example.com", "name": "Carol" } ] Use Cases: - Deduplicate data between two sources - Find overlapping records - Identify new or missing entries across systems This workflow is useful for internal data auditing, list reconciliation, transaction reconciliation, or pre-processing sync jobs.
Download the workflow JSON file after purchase.
Open n8n → click the menu → Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.