Hello Matthy,
thanks for your reply. I tried using filter array with varying results.
When using the filter array in combination with "ends with" I get the following error:
The execution of template action 'Filter_array' failed: The evaluation of 'query' action 'where' expression '@endswith(item(), '.pdf')' failed: 'The template language function 'endswith' expects its first parameter to be of type string. The provided value is of type 'Object'. Please see https://aka.ms/logicexpressions#endswith for usage details.'.
So I made a new flow (see screenshot 1) with a new filter array "Attachments Name" is equal to file.log (for test purposes).
The flow doesnt give any errors but it still saves all the files to the folder in stead of just the file.log test file that was given in the filter array.
Any help would be much appreciated.