cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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
Highlighted
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

Highlighted

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

 

Many thanks!

John

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

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.

Top Solution Authors
Top Kudoed Authors
Users online (12,595)