I created the following flow that automatically uploads an attachment to SharePoint. It only triggers when someone sends an email to a shared mailbox with an attachment. It then uploads that file to SharePoint and names it the subject line and the attachment name. I would love to remove the attachment name and just have the file named after the subject of the email. The only problem is, It doesn't preserve the file extension unless I include "Attachment Name". Is there a way around this issue?
For example, I want the flow to rename the file to the subject. But keep the file extension. The only problem is, that the file extension could be a jpg, png, or bmp.
Note: I edited the image and removed the email address domain and SharePoint site link for privacy.

Report
All responses (
Answers (