Basically I have a flow which uploads an excel file to sharepoint which would then have the rows inside it appended into a sharepoint list. There is a column called 'Doctor Code' in both the excel file and sharepoint list and what I want to happen is when the excel file gets uploaded to sharepoint it will first check if the doctor code in it is already existing in the sharepoint list, if yes then it would delete that specific row.
Right now I have this flow.

I imagine the process can be achieved in the Yes condition but I just cannot figure out how to do it.
Any help would be greatly appreciated!