I have a workflow where I receive multiple file attachments from emails, including PDFs and other file types (e.g., PNG, JPG). I want to filter out only the PDF files and process them further.
I tried using a Filter Node, but it didn’t work as expected. Ideally, I want to keep only files with mimeType: application/pdf.
After listing the files, add an IF node to check if each file’s name ends with “.pdf”. For example, if your file name is stored in a field called name, you can set the condition using an expression like:
So it seems your problem is something else not related to my answer for filtering your input.
If you can show you wf we can have a look, you might have to much data in your browser, so re loading could be an answer.
→ your execution data is stored in memory, If you don’t hit the bin/trash can icon at the bottom of the screen then often you can exceed the memory limits.