web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : Wa4ACAfKPCiVkABfaCKUGM
Power Automate - Building Flows
Unanswered

Saving embedded photos in email to folder in OneDrive

Like (0) ShareShare
ReportReport
Posted on 5 Oct 2022 17:22:31 by 8

Hi,

 

I receive emails with photos embedded in the body of the email, and often times it is a lot of photos. This occurs primarily because when you use iOS to attach photos to emails they show up in the body and that is how our users send me photos.

 

I created a flow to save these embedded photos to a folder within OneDrive. The issue is that when the photos save, all their names (since there is no given attachment name), just say "Image". So what ends up happening is that a new file with the same name "Image" replaces the current one already saved in the folder. Is there a way around this? When I use Attachment ID instead of Attachment name, it gives me a random ID but the file then becomes just a "file" and no longer a jpeg which then has issues opening up.

 

Flow:

bwan_0-1664990294526.png

bwan_1-1664990330454.png

 

Here is what happens when I use Attachment ID instead of Attachment Name:

bwan_2-1664990469967.png

 

I have the same question (0)
  • ChristianAbata Profile Picture
    8,949 Most Valuable Professional on 06 Oct 2022 at 00:00:15
    Re: Saving embedded photos in email to folder in OneDrive

    hi @bwan  don't use get attachment, just use the properties from the trigger

     

    ChristianAbata_0-1665014407553.png

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 626 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 374 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 284 Most Valuable Professional

Last 30 days Overall leaderboard
Loading complete