I have created a workflow that should regularly send a file from a sharepoint folder by e-mail. As long as there is only one file in this folder, it works perfectly. As soon as there are several files there, the e-mail is sent, but the file in the attachment is corrupt. In addition, the name of the file can change (e.g. test20240312.xlsx and later text20240313.xlsx). How can this be realised?
Here my current flow:


