Skip to main content

Notifications

Community site session details

Community site session details

Session Id : VezsKGMhRISyEn8bmPdblR
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

 

  • GarySpag Profile Picture
    5 on 01 Dec 2023 at 13:11:27
    Re: Adding an Image into an Email

    I have the classic designer back again! Thank you so much you're a life-saver.

  • Verified answer
    RobElliott Profile Picture
    10,118 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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard
Loading started