Can you attach multiple attachments to an Outlook email

Hi All, is it possible to attach multiple attachments(excel files) in an Outlook email?

I saw the previous answers on this and they are a couple of years old so I’m looking for something more recent. Also the number of attachments will change from run to run so I can’t hard code the number of attachment names

Yes, take a look here:

This was posted a few weeks ago,

Let me know if it works for you, or share what you tried and any issues you ran into..

Thanks for this, but what if every day the process runs, the number of files that are going to be attached varies? I can setup the flow so it works for 5 attachments, what if there are 6 attachments the next day? Do I need to go in and add one more attachment name manually?

hmm, you could get the number of attachments then use a Switch node to create a branch for each case, that means you would have Outlook nodes already set up for 1 attachment, 2 attachments, 3 attachments, and so on, up to the maximum number you expect..

This is the solution that came to my mind for now, but there is a more advanced solution using sub-workflows and dynamic workflow JSON, but I’d recommend starting with the simpler approach first..

I’m facing a similar issue. Since the number of attachments varies, I can’t set them manually in the node without breaking the workflow. Is there a way to handle a dynamic list of attachments?