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 / Embed image into autom...
Power Automate
Unanswered

Embed image into automated email from Sharepoint list

(0) ShareShare
ReportReport
Posted on by 126

I have a flow set up whereby an email is sent when a new item is added to a sharepoint list and pulls through dynamic content from the list itself (see below)

 

Screenshot 2022-05-20 at 1.23.24 pm.png

 

I have another column on my list for images (see below called 'ID Picture') and I need this image embedding into the email body or even an attachment. Any help welcome!

Screenshot 2022-05-20 at 1.23.42 pm.png

 

Thanks!

Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    Hey @Jtaylor95 

     

    Is the Picture an Hyperlink?

     

    If yes, please try to use <img> label in HTML, then the image could be checked on Outlook Web.

    CFernandes_1-1653050388222.png

     

    <img src="@{triggerOutputs()?['body/Picture']}" alt="Picture" width="500" height="600">

     

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

     

  • Jtaylor95 Profile Picture
    126 on at

    No the picture isn't a hyperlink its a jpeg thats been uploaded 

  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    @Jtaylor95 

     

    So is it an attachment? Then try the below -

     

    CFernandes_0-1653051654757.png

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

     

  • Jtaylor95 Profile Picture
    126 on at

    No its not an attachment either. I want the image to be pulled from Sharepoint List and embedded as an image into the email body

  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    What is the column type in SharePoint? Can you please provide more details?

  • Jtaylor95 Profile Picture
    126 on at

    column type is an image. So its just uploading a .jpeg or .png

  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    @Jtaylor95  - Screenshot of the column please.

  • Jtaylor95 Profile Picture
    126 on at

    Screenshot 2022-05-20 at 4.13.32 pm.png

     

  • v-yujincui-msft Profile Picture
    on at

    Hi @Jtaylor95 ,

     

    I have made a test for your reference.

    1. Here is my SharePoint list.

    vyujincuimsft_0-1653552336907.png

    2. Here is my flow.

    _api/web/Lists/getByTitle('listname')/items(@{triggerOutputs()?['body/ID']})?$select=ImageColumnName
     json(body('Send_an_HTTP_request_to_SharePoint')?['d']['ImageColumnName'])['fileName']
    concat('/SiteAssets/Lists/yourfoldername/',variables('image1filename'))
    <img style="display:block;" src="data&colon;image/jpg;base64,@{body('Get_file_content_using_path')['$content']}" alt="ImageColumn1" border="0" width="300" height="300">

    vyujincuimsft_1-1653552455633.png

    vyujincuimsft_2-1653552837357.png

    Result Screenshot:

    vyujincuimsft_3-1653552923484.png

     

     

    Best Regards,
    Charlie Choi

     
  • Jtaylor95 Profile Picture
    126 on at

    Can you clarify how to enter the 'listname' in the below? 

    _api/web/Lists/getByTitle('listname')/items(@{triggerOutputs()?['body/ID']})?$select=ImageColumnName

      

    I've tried 'Salaried_Employee_Test' and also 'salariedemployeetest' but its not recognising the list?

     

    Screenshot 2022-05-26 at 10.50.43 am.png

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard