Hi @Thaone2
Yes, you could set the trigger condition on "When a file is created (properties only)".
In the below example, I have taken a document library 'Test Library' and when a file is added on root of it then flow will execute but when a file is added in any other folder then flow would not execute.
To add trigger condition, click ellipses(...) & select "Settings" from sub menu:

Next, scroll down & add trigger condition. Press Done to save the changes:

@equals(triggerOutputs()?['body/{Path}'],'Test Library/')
Pls replace actual library name in the above expression.
Once trigger condition is set, the flow will execute only for the file added on the root folder of the library.
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Thanks