Forum Discussion

Sam_Green's avatar
Sam_Green
Copper Contributor
May 04, 2023

Trigger flow only when SharePoint file is modified

Hi, I feel that this one should be a really easy question but I'm going around in circles and am up against a deadline so could do with some pointers please.

 

I need to trigger a flow to run only when the file that is saved in SharePoint changes. I do not want the flow to run if other properties in the SharePoint libraries change for the file.

 

I have tried 'when an item or file is modified' and 'When a file is created or modified in a folder (deprecated)' but cannot stop it running when another column for the file is changed.

 

I have thought about retrieving the metadata and using LastModified but don't know how to write a relevant expression.

 

Can you please point me in the right direction, thanks in advance.

Resources