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?
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']
Nevermind. I have it working.
Would there be any difference in the "Trigger Condition" if the file is located in SharePoint?
Hi @frixel,
In that case you should be able to use the exact file name with an equals instead:
@equals(triggerOutputs()?['body/Name'], 'filename.csv')
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.
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2