Notifications
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 503 Super User 2025 Season 2
Tomac 321 Moderator
abm abm 237 Most Valuable Professional