Hi @Gokul Krishna,
Firstly, If you are using One Drive Connector, then you can use below connectors:
Here, I have used below trigger:
When a file is uploaded :
It gets triggered as below:
When it is not been triggered, the logic app trigger always checks the condition of trigger and when the condition is not met, it gets skipped as below:
If you are using SharePoint connectors:
Even when you are using SharePoint connector, when the condition is met, then only it triggers. Make sure you give correct folder or file or condition so that it triggers without skipping.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.