Trying to filter a json with another json

Hi @gertz, welcome to the community :tada:

You could use a Merge node in “Keep Key Matches” mode for this.

Simply specific the name of the property from each input you want to filter on like so:

Afterwards, only the items present in both inputs should be passed on.

Example workflow:

If you need the full data from both sources, you can simply add another Merge node afterwards, this time in Merge By Key mode. No code required (my Function nodes simply mock some data here since I don’t have your source files):

Hope this helps!

2 Likes