Hello everyone,
As a context, i made a flow that automatically download files that are in an hyperlink inside in the the content of e-mail.
As a description of the flow ... it is like this :
When an email arrives -> Variable get the body of the email -> Variable get the hyperlink Safelink -> HTTP GET API that tries to get me the file but it redirects , since it's a safelink, and says that "Object moved to... "-> Condition "in case of a redirect" that contains 2 more variables that splitted me link to get only the right link, that i want, not a safelink -> HTTP GET API again to get me and identify the file -> Create file to sharepoint -> Get file properties -> Extract me the .zip.
But , at the first HTTP GET API action , that tries to get me the URL , that is "emea01.safelinks.protection.outlook.com blablalba", when it tries, it outputs me another safelink , that is "eur01.safelinks.protection.outlook.com blablabla". So , basically , i'll need a condition or smth like that , when it tried to get the url and if it is again a safelink, split it again for me , kinda like that.
At first, i tried this flow on my own Inbox, with manually forwards from my subfolders that contains those files that arrives daily. With those forwards , it redirects me first to the First safelink and then to the correct URL ,but if i move the flow to another subfolder , it redirects me to "emea01" and then "eur01" as an output , and THEN the correct URL , i think you get it.
I insert here the example of the flow :
Appreciate your help !
Regards,
Alex.


Report
All responses (
Answers (