Preventing duplicate entries

So i was trying to upload a csv file in my file uploader where i have a field named “Company Name”. To provide an example, let’s say I have a CSV file containing a list of three company names: A, B, and C. If I were to include an another company name, let’s say “A,” to the existing CSV file, I would like to prevent uploading the duplicate entry of “A” into the database. I used backend workflow, a file uploader and a submit button for it. But in my process it is inserting the data then deleting data. Can anyone kindly help me how to do this? I am providing screenshots of my workflow and frontend.

Backend Workflow:


Frontend and when submit button clicks workflow: