Hey @MaxPK
Hope the below solution helps you:
Cause:
In your flow I can see that you are using an Action that is "List Files and Folder". After that you are using the "Apply to each" action and maybe you are using the dynamic content of "List Files and Folder" Action. There should be 2 files in the folder that's why it is running twice.
Solution:
As you are using "when a file is created " Action, so at a time only one file should create, and this action holds the properties of the created file so, you shouldn't avoid the use of "List of Files in Folder" and "Apply to Each" Action then only your flow run single when a new File is Created.
------------------------------------------------------------------------------------------------------------------------------
If my suggestion helps you, please gives it a Thumbs up 👍 and Marks as a Solution ✔️. Which Motivates to solve more Problems.
Thanks,
Sayan Patra
RPA Developer