How to send dynamic email attachments?

Hi there @daviddelos,

yep. It is pretty clear. So first I noticed you have a different Flow Variables tab in Send Email node which probably indicates you don’t have newest KNIME version as new flow variable types are available from 4.1.0. so I suggest to update. Here is how I did it using new flow variable type Collection/List:

Basically you create list of files in GroupBy node. Then you take row by row with Chunk Loop Start (similar to Table Row to Variable Loop Start but haven’t used it cause it is not supporting new flow variable types, yet) and then inside loop create flow variable which I use in Send Email node:

Here is workflow on KNIME Hub so you can explore it:


Hope this helps!

Br,
Ivan