Announcements
Hi all,
I will make a Flow for a specific file in a folder.
The file is on OneDrive and i read that the best i to do that with the trigger function.
I dont get it working, what goes wrong with this?
Hi @frixel,
Do you want to filter for one specific file, or for all files which are of type .csv? Otherwise you can use the exact name of the file.
And as far as I am aware on OneDrive for Business the property is Name instead of FilenameWithExtension. Can you try and use this expression:
@endswith(triggerOutputs()?['body/Name'], '.csv')
And I think you don't need to first row where you a comparing the created date with the modified date.
Hi @Expiscornovus
Yes, i want to filter for one specific file.
In that case you should be able to use the exact file name with an equals instead:
@equals(triggerOutputs()?['body/Name'], 'filename.csv')
@Expiscornovus Thanks works fine for me.
Would there be any difference in the "Trigger Condition" if the file is located in SharePoint?
Nevermind. I have it working.
I created a new flow with this Trigger Condition and it works:
ATSIGNequals(triggerOutputs()?['body/{FilenameWithExtension}'], 'Company Meeting Agenda - ABC.xlsx')
Split On (on):
ATSIGNtriggerOutputs()?['body/value']
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
David_MA 77 Super User 2026 Season 1
Haque 68
Expiscornovus 56 Most Valuable Professional