cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Shivi
Level: Powered On

Send multiple attachments on a single email using "Send an email notification" mail connector

Hi,

 

Does anyone have any idea on how to send multiple attachments attached to a sharepoint list item in a single email using the flow. I know we can achieve it if we are using Office 365 send email action https://flow.microsoft.com/en-us/blog/multiple-attachments-single-email/, but I cannot use this action. I have to use "Send an email notification" mail connector action:

 1.PNG

In this action, attachments cannot be converted to a single array entity, so I am not able to use the above specified method.

2.PNG

So, is there any workaround to send multiple attachments using this action?

1 REPLY 1
mrstrong
Level: Powered On

Re: Send multiple attachments on a single email using "Send an email notification" mail co

I am not sure if you can send multiple attachments using this connector.  I am using it, but only send at most 1 attachment.

 

FYI I am basically using the steps outlined in that tutorial but only selecting the first attachment if it exists:

To get first item in array (for the Attachment File Name field):

first(variables('attachmentsArray'))['Name']

 

To get first item if it exists:

if(empty(variables('attachmentsArray')),null,first(variables('attachmentsArray'))['Name'])

 

Similar for the Attachment field, but using Content-bytes.

 

You might have to send multiple emails possibly if you are using this connector, otherwise switch to using the Office 365 mail connector?

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,067)