web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / All Attachments Are Bl...
Power Automate
Unanswered

All Attachments Are Blank When Adding Multiple List Attachments To Email

(0) ShareShare
ReportReport
Posted on by 13

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!

 

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    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.com)

     

    Thanks

     

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

     

  • romike Profile Picture
    13 on at

    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.

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    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

  • romike Profile Picture
    13 on at

    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!

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @romike 

     

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

     

    Thanks

  • Verified answer
    romike Profile Picture
    13 on at

    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.

  • msprea Profile Picture
    6 on at

    Hello,

    I am trying to attach items to an email after a sharepoint list item is updated and some files (.docx documents mainly) are attached to such item. I have followed your flow, which runs without errors, but I get an email without any attachment, even though I have two files attached to the sharepoint list item.

    I suspect something does not work properly in the loop after the 'Get attachments' step, since after going through the second file the variable appears to be empty. Do you have any ideas? See below screenshots after flow run for attachments 1 and 2 in the loop after 'get attachments'

    msprea_0-1679919067596.png

    msprea_1-1679919086142.png

     

    Thank you,

    M

     

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard