Download file from URL Link which we receive from email

Hi All,

I want to automate task in there is an email that comes with a URL link. I want to be able to open the email , click on the link and then move that download to file to shared drive. could you please guide me any reference videos or sample workflows to build workflow.

Thanks & Regards,
Niranjan

@niranjan.kummara

To extract the email use isBodyHTMl property and get the body then you can use regex to extract the url

then use http activity and pass the url and give the file location in resource path property to save and it would save it

cheers

@Anil_G I just want to build from scratch, could you please give me any sample video references or workflows would be greatly helpful

@niranjan.kummara

Please check this

Use this in assign to get the url…then use open browser or use application browser to open the url

System.Text.RegularExpressions.Regex.Match(mslist(0).BodyAsHtml,"(?:(?:https?|ftp|file)://|www.|ftp.)(?:([-a-zA-Z0-9+&@#/%=~|$?!:,.]*)|[-a-zA-Z0-9+&@#/%=~|$?!:,.])(?:([-a-zA-Z0-9+&@#/%=~_|$?!:,.])|[a-zA-Z0-9+&@#/%=~_|$])").value

Download of file can be done using http request as well.Check the below video

cheers