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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,003)