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

All Attachments Are Blank When Adding Multiple List Attachments To Email

Hello,

 

I'm building a flow that takes multiple attachments from a SharePoint List item and attaches them to an email.  I've recreated the flow a number of different ways that seem to work for others and none are working for me. For some reason, my attachments are "blank" every time. The actual content seems to be getting lost somewhere along the way.

 

List items are generated when emails arrive at a shared inbox. I add the email body, attachments, etc., to the list items. Depending on which actions are taken with the list items, I send an email containing the original email body and attachments back to the original sender with a short message. 


This:
BrokenAttachments.JPG

BrokenAttachments1.JPG

Returns attachments like this:

BrokenAttachments2.JPG

As you can see, the attachment names and dimensions are making it through, but nothing else. Attachments aside, every other part of the email makes it no problem.

What could I be doing wrong/differently? Thanks in advance!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
romike
Frequent Visitor

Thanks again for looking into this!

As I suspected, the email attachment portion of my process was correct after all. The issue was with how the attachments were getting into the SharePoint list in the first place.

View solution in original post

6 REPLIES 6
abm
Super User
Super User

Hi @romike 

 

There are couple of posts already in community regarding this. Please see below.

 

Solved: Send all files as attachment by email from a Share... - Power Platform Community (microsoft....

 

Thanks

 

Solved: Send all files as attachment by email from a Share... - Power Platform Community (microsoft....

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
romike
Frequent Visitor

Thanks for your response.

The post you linked to is for a different thing. I need to get attachments from a SharePoint list, not files from a SharePoint document library. Entering expressions from that thread gives me errors and blocks me from saving or running my flow.

Hi

 

Please follow the below steps

 

image.png

 

If all the mapping are looking exactly the same as above then please remove the append array and map those variables again (JSON format).

 

Thanks

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
romike
Frequent Visitor

Thanks again.

 

Judging by my screenshots (and I also just rebuilt it again to see if that fixed anything), that's what I'm already doing and it's not working for me. The only difference is that my flow doesn't require an Apply to each loop for Get attachments. (I'm not sure what the "value" output is supposed to be there - I have no such option.)

 

I've tried this JSON and a handful of other approaches that seem to be working for other people, but I can't get any of them to work in my context. 

 

I'm curious what could be different about my list/list items/flow/etc. that's causing it to malfunction when it seems to be a relatively cut-and-dry flow that a lot of people have successfully implemented.

 

More research required!

Hi @romike 

 

Check your dynamic mappings are correct or not. You should get a loop after get attachments action step.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
romike
Frequent Visitor

Thanks again for looking into this!

As I suspected, the email attachment portion of my process was correct after all. The issue was with how the attachments were getting into the SharePoint list in the first place.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,371)