Hi Everyone,
I have build a flow that is triggered when the email arrives, converts the HTML to text, identifies a link, and then uploads a file from the URL to OneDrive for business.
The documents downloaded are not always in pdf format, therefore when I download a document that is formatted as a word document as pdf, the document fails to open, however, no error is shown at this point. I have tried to implement an empty condition statement after the file is downloaded, however, the corrupt file is not empty it just does not open.
When uploading a file from a link how can I determine a file extension of the document I am downloading?
I have tried to use an HTTP request, but the link I am using is redirecting the user to a different link, therefore the flow fails
stampcoin
81
Michael E. Gernaey
70
Super User 2025 Season 1
David_MA
48
Super User 2025 Season 1