cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rystevens
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
v-monli-msft
Community Support
Community Support

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.

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (24,016)