Because it’s likely that multiple rows will be retrieved, we need to scroll through all the rows one at a time. The ‘Apply to each’ step does this and the ‘Condition’ step executes for each row
The Condition step is required because if the flow tries to delete a file that doesn’t exist, an error will be thrown. The condition simply checks whether the value of the Agenda column, which is the name of the file column in which the file is stored, is null and if it is, then no further action is taken
If the value of the Agenda column is not null then a file exists for that row. The condition returns yes and the ‘Perform an unbound action’ deletes the file
This is a great example of how Power Automate can easily replace a potentially long and tedious manual process