Filter and Condition to move data from one API to anothe API

I am having one API from where I am getting the list of persons and I want to write the name and phone of that person into the another system where I can write into that via Another API. But the catch is I want to skip those names which are already in the system in destination site. how can I effectively compare/filter and create new entry.

Here is my current scenario where I am able to GET the list of names from source site and destination site via HTTP request to their APIs. But I am stuck in letter part where I want to filter the names from source list which are not in destination site. how can I achieve that effectively ?

I thought of using Router but seems like it is not working as I want.

Scenario: