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

MS Flows - Image Signature File being uploaded to OneDrive


I created a workflow that if file has a particular extention, .xlsx for example, it gets uploaded to one drive in a specific folder, it works, however the sender had an .png image in his signature, and it gets to one drive also.


I added an condition that if the files "ends with" .XLSX then upload to OneDrive. I tried other conditions but it doesn't work either.

Any ideas how to fix it?

Community Support
Community Support

Re: MS Flows - Image Signature File being uploaded to OneDrive

Hi @barbaracmv,


Could you share a screenshot of your Flow configuration?

I am afraid I don't understand the meaning of "the sender had an .png image in his signature".

I don't know where to get the file and upload it to OneDrive.

Could you provide more details?

I guess you are getting the file from the attachment of the email and uploading the file in a specific format to OneDrive.

You could use the following method, the basic principle is the same as you mentioned, to determine whether the attachment name ends with a specific extension.


Please take a try or provide more details about your Flow configuration if you need another assistance.


Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!


Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,164)