cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bwan
Regular Visitor

Saving embedded photos in email to folder in OneDrive

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

 

1 REPLY 1
ChristianAbata
Super User
Super User

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

 

ChristianAbata_0-1665014407553.png

 



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (2,114)