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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to add images t...
Power Automate
Answered

Unable to add images to my 'email with options'

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello everyone, 

 

I am sending out an email with options and would like to add an image as a part of the mail body. I tried most of the solutions present online (such as the html tag; and even tried putting an image from a public source), but for some reason, it still does not show. Is there an easier way to do this? 

 

Also, is there any way to adjust the sizes of the boxes in the 'email with options'? And how can I allow the response to be submitted again from the same email? 

 

Thanks in advance! 

Categories:
I have the same question (0)
  • Verified answer
    David_MA Profile Picture
    13,458 Super User 2026 Season 1 on at

    You can embed your image into your e-mail. Store the image you want to use in OneDrive and then use the action Get file content using path action. Follow this with an Initialize variable action of String type. You can name the variable anything you want, such as embedded image. Then set the default value as:

    David_MA_0-1686155081749.png

    Use the expression builder to generate the two body.$content... expressions above. The first expression is:

     

    body('Get_file_content_using_path')['body']['$content-type']

     

    And the second expression is:

     

    body('Get_file_content_using_path')['body']['$content']

     

    When you first add them, they will look like regular expressions in the variable action:

    David_MA_1-1686155329319.png

    But once you run the flow they'll have the OneDrive icon as above. And of course, update the alt, width and height values to correspond to your image.

     

    The put your e-mail message in HTML mode and insert the variable where you want your image placed.

  • Verified answer
    sandeepstw Profile Picture
    312 Moderator on at

    Hi Pragya09,

     

    In Power Automate, you can use the "Send an email" action to send an email with options and include an image in the email body. Here's how you can achieve this:

    1. Add the "Send an email" action to your flow.
    2. Fill in the required fields like "To", "Subject", and "Body".
    3. In the "Body" field, you can use HTML code to format the email content. To add an image, you can use the "img" tag and provide the source URL of the image.

    Example HTML code for adding an image:

     

    <img src="https://example.com/image.jpg" alt="Image Description" />

     

    Make sure to replace the URL with the actual URL of the image you want to include.

    Regarding adjusting the sizes of the boxes in the "email with options," Power Automate does not provide direct control over the styling of the email body. The appearance of the options will depend on the email client used by the recipient. You can experiment with different HTML and CSS styles, but the rendering may vary.

    To allow the response to be submitted again from the same email, you can include a link or a button within the email body that triggers your flow again when clicked. The link or button can redirect the recipient to a web page or a Power Automate button that starts the flow.

     

    For example, you can include a link like this:

     

    <a href="https://flow-url">Submit Again</a>

     

    Replace "https://flow-url" with the actual URL of your flow.

    Remember to test your flow thoroughly to ensure that the email content, including the image and options, behaves as expected in different email clients.

     

    Thanks, 

    Sandeep Mishra

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you for your help! 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you, this is informative 🙂 

  • juresti Profile Picture
    319 on at

    I tried embedding an image in the email body like this and it shows the string of characters from the image.

     

    The email is sent and instead of showing the image it shows the long string of characters.

     

    I'm loading the image from sharepoint not one drive. Could this have something to do with it?

     

  • David_MA Profile Picture
    13,458 Super User 2026 Season 1 on at

    It shouldn't matter if you get the file from OneDrive or SharePoint. Can you show how you configured your workflow? I've used the method I posted numerous times and have not had issues. If you are getting the string in the e-mail, it sounds like you may have not put the e-mail into HTML mode when you inserted the image. When I can see your flow actions, it will be easy to see if this is the issue.

  • MidnightOil Profile Picture
    2 on at

    this does not work. It clears our the <img src=.... and replaces with just <img>

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard