cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JohnH
Frequent Visitor

When a File is Saved in a OneDrive Folder, Email that File, Then Delete File

All -- First, the flow is working just as I want it to --- it is just corrupting the excel files I'm wanting to send in the email.

 

I've tried files of all these types:

file types.PNG

The overall Flow is this:

 

overall.PNG

 

it analyzes a specific OneDrive Folder every five minutes, if a file is there, it generates an email, attaches that file, and sends it along.

 

The sent email looks great in Outlook.  When I or the addressee tries to open that file -- it reports it as corrupted.

 

Here is the dynamic portion of the email creation step:

 

email_add.PNG

 

Any advice or alternative methods would be appreciated --- again, the Flow works as I want it, it's just that the excel attachment is always corrupted when sent...

 

 

Thank you!

John

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yuazh-msft
Community Support
Community Support

Hi @JohnH,

 

I afraid that you have choose the wrong dynamic content in the "Attachments Content" field of "Send an email"action.

 

Please choose the "File content" dynamic content of the trigger in the "Attachments Content" field of "Send an email"action as screenshot below:

Capture.PNG

 

 

Best regards,

Alice

View solution in original post

3 REPLIES 3
v-yuazh-msft
Community Support
Community Support

Hi @JohnH,

 

I afraid that you have choose the wrong dynamic content in the "Attachments Content" field of "Send an email"action.

 

Please choose the "File content" dynamic content of the trigger in the "Attachments Content" field of "Send an email"action as screenshot below:

Capture.PNG

 

 

Best regards,

Alice

View solution in original post

I guess I had gone Flow-Blind™  after staring at it for so long.

 

Many thanks!

John

Hi,

I am having the exact same problem, However I have no choice for File Content. Only file path & file name. I am only wishing to create the email, attach the file when it is put in a designated folder & send to multiple recipients. All works well except the attachment is corrupt at the other end.Flow Error.PNG

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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (23,904)