Remove duplicates according to a specific key

Hi all,

Brand new to n8n so that I apologize if my question is a little … Stupid ! OK, What i’m trying to do, is to remove duplicate key over my items list (this key is named SKU), ank keep the item which owns the highest “level” value. For instance over image above, I need to keep green highlighted node, and remove the red one.

I’ve tried with the “remove duplicate” nodes and via a code also, but I’ve not achieve my goal … I do not find any solution or beginning one over the net.

May somebody can help me, by giving me some ideas to explore ?

Best,

JC

See if this is what you are looking for:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.