cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Raj_twr
Frequent Visitor

Flow to send email with multiple attachments

Hi,

 

I created a flow to send an email pulling an attachment from sharepoint and it worked fine for a single attachment but now I want to include multiple attachments and it throws error "attachment cannot be null or empty". I used get file metadata and get content twice to include the two attachments and it throws error for the second attachment. Can someone please advise on the solution. 

6 REPLIES 6
Mira_Ghaly
Dual Super User II
Dual Super User II

@Raj_twr 

Can you provide screen shots from your flow?

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

@Mira_Ghaly @Hi Mira

 

thank you! Please find the attached screenshot of the flow -Error Screenshot.JPGMultiple attachments Flow 2.JPGMultiple attachments Flow.JPG

 

Please advise.

Mira_Ghaly
Dual Super User II
Dual Super User II

@Raj_twr As the error suggests this seems to be like one of the files is empty

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

@Raj_twr 

Can you please post screen shots from the run of the output of both Get File Content actions?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

@Mira_Ghaly ,

thank you. th document is not empty but still i am getting the error. Pls advise on any alternative.

@ScottShearer ,

 

thank you! Please find the screenshot of the error post run.Capture 1.JPG

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,009)