Attaching optional files to the email Module

You can add the files variable to an empty array, then remove null values.

e.g.:

{{ remove(add(emptyarray; 214.file1; 214.file2; 214.file3); null) }}

Screenshot_2024-08-21_150827

Output

(if there are only two)

Screenshot_2024-08-21_150824

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!