Forum Discussion

Sara16's avatar
Sara16
Copper Contributor
Jul 24, 2023

Flow to transfer email attachments to SP site

I've created a flow to save all email attachments received in a shared mailbox to a sharepoint folder. But the thing is I want all those attachments to take storage space in SharePoint and not outlook. I can do that by deleting the email attachments from the mail once they're saved in SharePoint library. But I don't want to follow that approach. 
So the overall need is to make the email attachments take the storage space in SharePoint and not Outlook's with Power automate.
Sharing the knowledge if you know would be really appreciable.

    • Sara161's avatar
      Sara161
      Copper Contributor
      I used graph query in http request action in power automate flow and I am able to remove attachments from the mail. But what I want to do is I want the attachments to be visible in email and when I click to open it should be like a link which directs me and opens from Sharepoint space.
      • Yeah that's beyond my pay grade lol. If it's even possible it'll require some kind of development API which you're going to have to have the ability to process the e-mail at the transport level and inject something that strips the attachment and injects it's location prior to it being transported to the mailbox.

Resources