cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Getting a body of an emial to move to sharepoint using flow

Hi Everyone,

I am having issues moving the body of an email from Outlook 365 into a Sharepoint document.  It was simple getting the attachment to send over, but in my case the body of every email has necessary information that I need to be added to Sharepoint.  As of right now when the body of the email is sent over it gives me an error except when the attachment is a word document. 

 

I need to complete the following:

  1. Get all (and multiple) attachments from an outlook email to a Sharepoint document.
  2. Get all emails with and without an attachment from outlook to a Sharepoint document.

Any help would be grateful.

 

 

 

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Getting a body of an emial to move to sharepoint using flow

Hi @rystevens,

 

About the 1st one, I just created a flow like below, and it is true that all my runs failed. No matter the attachment is excel file or word file.

Capture.PNG

 

But I used the Flow template "Save my email attachments to a SharePoint document library" to create a new one, all runs run successfully, including when there are multiple attachments in new email. Please try to use the template so far instead.

 

About the 2nd one, this cannot be done so far. As if you want to create a file in SharePoint library with the action below, you need to fill the File Content field with a file dynamic content. Any other dynamic contents won't work.

Capture.PNG

 

Regards,

Mona

 

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

Re: Getting a body of an emial to move to sharepoint using flow

Hi Mona,

What about getting the body of the email when there is an attachment to the email? I made a custom template with “ On a new Email” as the starting process.   Under “Select an output from previous steps” I selected “Attachments”. If I put “Body” as the “File Content” the body of the email will pull over to a Sharepoint document. The only issue is that if the attachment is a .PDF or in Excel that new file will give me an error. It will work however if the attachment is a Word Doc.

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Users online (9,523)