Hi There,
Thank you for asking this question on the Microsoft Q&A Platform.
Before Create file check if file is present in SP folder. You can use 'Get files' for that. I tried to create the same scenario for you and hope this could help you,
Flow could be look like,
Condition filter -- length(body('Get_files_(properties_only)')?['value'])
LogicApp Run Result if incase file is not present,
LogicApp Run Result if incase file is present,
Regards,
Kamlesh Kumar
BizTalk Techie
If this answer solved your problem, please click the Verify Answer button (found below the answer) to help other users who have the same question.