Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

Adding an Image into an Email

Like (0) ShareShare
ReportReport
Posted on 1 Dec 2023 12:50:43 by 5

Hi All,

My Desktop flow takes a screenshot, I want my Cloud Flow to send that image in an email (ideally embedded), but I'm having trouble,

Things I have tried;

Setting the base64 string of the image as a variable and passing that from desktop to cloud, and setting it as the file content for an email attachment (the image doesn't open)

The Desktop Flow uploading the image to Sharepoint, then the cloud flow Gets the File Content and adds as an attachment (Image doesn't open)

I also don't seem to be able to embed the image in the email Body anymore since the last update, Is there a new way of doing it? my HTML is Read-Only.

 

Any help or advice would be appreciated, Thanks

 

  • Verified answer
    RobElliott Profile Picture
    10,136 Super User 2025 Season 1 on 01 Dec 2023 at 13:07:05
    Re: Adding an Image into an Email

    @GarySpag I suggest that when you are editing the flow you revert to the classic designer from the 3 dots at the top right of the Power Automate screen.

     

    We always embed our company logo in the emails that a flow sends:
    5-EmailTicketClosed-full.png

     

    The image is stored in SharePoint and to get the file content use the get file content using path action. Then in the send an email action add the expression dataUri(body('Get_file_content_using_path')) inside the html tags:

     

    embedImage.png

     

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 216 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 213 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 186

Overall leaderboard