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 / Get PNG image with HTT...
Power Automate
Answered

Get PNG image with HTTP request and send the PNG image via email (Outlook)

(0) ShareShare
ReportReport
Posted on by 9

I am trying to create the following flow:

 

When a user submits a MS form response, an API call is sent to the QR code generator tool using HTTP then gets back the following output:

{
  "$content-type": "image/png",
  "$content": "iVBORw0KGgoAAAANSUhEU....etc
}
 
Now I would want to convert this HTTP output into an QR code image file (PNG) and attach it to the email so that it can be sent out via email.
 
Please help me out with the next steps.
 
Screenshots for reference:
 
Drupad_Prabhu_2-1671561460354.png

 

 
Drupad_Prabhu_1-1671561444733.png

 



Drupad_Prabhu_0-1671561341871.png

 




Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @Drupad_Prabhu ,

     

    If you want to attach the image to an email, you can directly attach the HTTP output as the content of the attachment.

     

    I made a sample for you:

    vxiaochenmsft_0-1671595119072.png

     

     

    Use HTTP to get image content.

    vxiaochenmsft_1-1671595119077.png

     

     

    Attach the output as content.

    vxiaochenmsft_2-1671595119079.png

     

     

    Save and run flow. The image is sent as an attachment to the message.

    vxiaochenmsft_3-1671595119080.png

     

    Best Regards,

    Wearsky

  • Drupad_Prabhu Profile Picture
    9 on at

    Hi @v-xiaochen-msft, it worked. Thanks for your help.

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard