Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Saving embedded photos in email to folder in OneDrive



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.






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



Super User
Super User

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




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 Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,645)