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 / image from sharepoint ...
Power Automate
Unanswered

image from sharepoint list - send as email attachment

(0) ShareShare
ReportReport
Posted on by 49

 

I have a sharepoint list, where one of the column stores images.

1.png

 

Every time a new entry is added to the list, I want a flow to run and to send an email containing the image as attachment

2.png

The flow runs ok, and the email is sent. However, the image cannot be opened.

3.png

Clearly, something was wrong in the way I designed the flow.

 

My first observation: When I use the Dynamic content menu, usually all columns from the sharepoint list appear with their names.  With one exception: the column whose type is Image (in fact, when I create the column, I pick Image type; later, when viewing the list properties, the column type appears as Thumbnail). So I pick the Thumbnail tag from the Dynamic Content menu, hoping that it would refer to the image column for the current row. Please confirm whether this supposition is correct. 

 

common_starling_0-1690540283964.png

 

Next, I encode the image using this recipe that I have found on several different tutorials.

common_starling_1-1690540499106.png

 

Finally, I  attach the image variable as an attachment to the email; I also embed the image variable in the email body. 

In either case, the image cannot be opened. 

 

Thanks anticipated for any suggestions.

 

 

 

 

 

 

Categories:
I have the same question (0)
  • SamLed Profile Picture
    2,338 Moderator on at

    Hi common_starling,

     

    Check out this article : Get SharePoint List Image in Power Automate - Torben Pedersen

     

    If I have answered your question, please Accept the post as solution.
    If you like my response, please Thumbs Up.

  • common_starling Profile Picture
    49 on at

    Hello  SamLed

     

    Thanks for your reply. 

     

    I know this article, I came across it while trying to solve this problem. However, I was not able to implement this solution. 

     

    In any case, the article does confirm my supposition : "SharePoint Image column is internally typed as Thumbnail"

    Thanks again

  • Verified answer
    common_starling Profile Picture
    49 on at

     

    As a colleague suggested, I followed this tutorial: https://www.youtube.com/watch?v=yy1z7cZ5Dac 

    I had to make some minor adjustments in order to make it work:

    1. when creating a form in Power Apps, the Attachments field (data card) was something that I deleted by default; now I brought it back

    2. in the Sharepoint List, I made visible the pre-defined Attachments column. This is where the data from the Attachments field in Power Apps goes after submitting the form. 

     

    While an image can potentially go in any column in the Sharepoint List, when later processing that image in Power Automate, that image would require encoding. And that was a headache. This pre-defined Attachments column in the List (that matches with the Attachments form field) seems to be the only one that later permits a decent manipulation of its content in a Power Automate flow. 

     

    Next, I just followed the steps in the video tutorial. 

     

    I also had some trouble, as the tutorial showed how to attach exclusively the image attachments.  I had some Word files generated at previous steps, that also needed to be attached to the email.  Luckily, I got an answer here: https://sharepoint.stackexchange.com/questions/308960/flow-that-sends-email-concatenate-existing-attachment-items-with-an-array-of-va?noredirect=1#comment326222_308960 

     

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard