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

File corrupting after running flow

Hello,

 

I have a pretty simple flow that takes an email report from outlook and saves it into a SharePoint. I keep getting this error though and i am not sure why. The file is an xlsb. 

esaul23_0-1662726689361.png

here is my entire flow:

esaul23_1-1662726734824.png

 

9 REPLIES 9
annajhaveri
Community Champion
Community Champion

@esaul23  use Export Email action just after the trigger When new email arrives, and then save the file to SharePoint

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

hey anna,

 

is this set up right? 

the subject is OSAS Report and i selected my email. It seems to have failed.

 

esaul23_0-1662727713899.png

 

@esaul23  in message ID parameter of Export Email, provide the message Id from the trigger dynamic content.

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

should the export email be bewteen these 2?

 

esaul23_0-1662728331554.png

 

it seems like i am out of private messages lol.

 

this time the flow failed entirely. Seems like because the file already exists in the sharepoint. i want to override it each day.

 

esaul23_1-1662730137251.png

 

@esaul23  just for testing give another file name just to see if file gets saved successfully

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

hey sorry for the delay. i tried it with a different name entirely and a different email/file and it is still saying failed. Very weird. 

KojoShaddy
Advocate I
Advocate I

Hello @esaul23,

Try to go with this rather. Delete the flow completely, follow this and create a new one exactly what you see. Then let me know the outcome.

 

KojoShaddy_0-1662756225282.png

 

@esaul23  can you please share screenshot of your flow ?

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,221)