Hi Guys,
I am trying to run a flow that pulls rows from a sql server table, checks if the row is already added to a sharepoint list, and updates the row if it already exists, and creates the row if it doesn't exist, Here is what I have tried:

In this case the title in Sharepoint is populated with the ID. What do I need to put into the condition box in order for the flow to run correctly? is there a better way to do this?