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 / How to paste screensho...
Power Automate
Answered

How to paste screenshot into body of Send email message through Outlook

(0) ShareShare
ReportReport
Posted on by 3

I have built a flow in PAD that takes a screenshot of a window as it runs. I know the screenshot is there because if I open a word doc I can paste it with CONTROL +V.   The steps after the screenshot launch Outlook and then Send email message through Outlook .

MikeA1_0-1701897452936.png

I can't figure out how to get the captured screenshot (stored to clipboard) in the body for the email. My first thought was to capture Send Keys {CONTROL}({V}) as a variable and them put the variable in the body or save the the screenshot as the variable and apply it to the body. 

MikeA1_1-1701897659278.png

Are either of those options possible?

 

I have the same question (0)
  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    You cannot "paste" it into an action like that. If you want something that is stored in the clipboard to be pasted anywhere, you would need to automate the User Interface and send Ctrl+V to paste it. So, you would need to use the Outlook app UI, which is a pain to do.

     

    Alternatively, you should save the screenshot as an actual file, instead of having it in the clipboard. Depending on how you capture the screenshot, there are several ways of doing that.

     

    But when you have it as a file, you can then use Convert file to base64 to convert it to an encoded string. And then you can embed that into the email body like this:

    <img src="data&colon;image/png;base64,{yourBase64String}" alt="SomeImage" />

    Where you should replace {yourBase64String} with the base64 string.

     

    See here for reference: https://learn.microsoft.com/en-us/power-automate/desktop-flows/how-to/add-images-email-messages

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard