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 / Save images embedded i...
Power Automate
Unanswered

Save images embedded in email to Onedrive for Business

(0) ShareShare
ReportReport
Posted on by

I receive a fortnightly update email that contains images within the body of the email. I would like to extract all of the images separately into a folder instead of manually having to right click, save image as..... Is this possible?

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

    Hi @Anonymous,

     

    I have tested on my side, you could use the following methods to achieve your needs.

    Get attachment action not only gets the attachments in the email, it also gets the image contained in the body.

    Image reference:

    17.PNG

    Please take a try.

     

    Best Regards,

  • Tommmertom Profile Picture
    8 on at

    Hi

     

    this does not seem to work for embedded images. Which seems to be the prevailing way of my users to send images after making a picture on their phone.

     

    Any suggestions how to detect and capture those and store in onedrive?

     

    Thank you and regards,

     

    Tom

  • Tommmertom Profile Picture
    8 on at

    Hi

    I stand corrected. The explanation does work. I made a mistake "Has attachments" should be "No", but "Include Attachments" should be "Yes".

    Regards

     

    Tom

  • r_vignesh Profile Picture
    2 on at

    Hello @Tommmertom - 

     

    I tried this option, but it doesn't work for me. Can you please help if I overlooked anything.

  • Tchay Profile Picture
    6 on at

    Dear all,

    I find a way of doing it with 2 Power automate Flow :

    1rst Flow : forward the email, and delete_it -> it help to have the Embedded picture in attachment (in my case jpg attachment).

    Tchay_0-1644143810499.png

    Tchay_0-1644144495121.png

    Tchay_1-1644144516438.png

     

     

    2nd Flow : download the attachment for the email send

    Tchay_2-1644144057728.png

    Tchay_3-1644144141929.png

    Tchay_7-1644144224422.png

     

     

  • andyab Profile Picture
    17 on at

    This almost works for me but not quite. 
    I have a shared mailbox to which I received emails containing any manner of embedded or attached images/pdf etc. 

    I need the attachments and embedded images to be saved to a location on sharepoint. 
    I then need the email moving to another folder. 
    Finally I need an email sent to the original sender to confirm we received their attachments. 

    I have so far got this working perfectly using a different example to that above except it doesn’t save the embedded photos. I have tried to follow your method and whilst it does save all the images including attachments and embedded ones, I end up sometimes with multiple emails in the inbox which don’t get deleted, and multiple copies of the attachments and images saved in sharepoint. 
    There must be a way of getting this to work so it just saves the attachments once, and I don’t end up with multiple emails sat in the inbox. 
    Any help appreciated!

  • Tchay Profile Picture
    6 on at

    Please share image of your power automate flow to help you.

  • andyab Profile Picture
    17 on at

    1st Flow: 

    andyab_9-1645046501840.png

     

     
     

    2nd Flow:

    andyab_12-1645046999209.png

     

     

     

    Original Flow that only works on attachments - not embedded photos:

    andyab_11-1645046880430.png

     

     

     

     

  • Community Power Platform Member Profile Picture
    on at

    1st flow :

    You should create a condition as subject filter (here does not contain the word RPA)

    You should rename the subject of your send email begining with RPA.

    TCHAYY_1-1645083106930.png

     

    TCHAYY_0-1645083089627.png

    TCHAYY_7-1645083533249.png

     

     

     

    2nd flow :

    You should subject filter your email with email who start with RPA

    TCHAYY_8-1645083564908.png

     

    TCHAYY_5-1645083383923.png

    TCHAYY_6-1645083407261.png

     

     

  • andyab Profile Picture
    17 on at

    Many thanks for your help. I will give that a go. 

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

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard