Showing results for 
Search instead for 
Did you mean: 
Not applicable

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

Hi @Anonymous,


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

Power Automate News & Announcements

Power Automate News & Announcements

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

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,607)