Hi, I want to build a bot that could go through each auto email, and open a link embedded within a text called “Download Completed Documents”.
I started the bot with
*Use Desktop Outlook App *
*> For each email * > Right Click “Download here”
However, the bot only open the link of first email using a browser. I have 4 emails in the folder to be open, but the bot seems like stuck in the first email, and only open the first link in that for 4 times.
Could someone guide me from here?
Outlook does not work on ui…what you effectively did is that you are looping through maila but you indicated the first email link so it is always clicking on the same
You need to use currentmail.BodyAsHTMl and get the html bbody
Then use regex to get the url or save the string into text file as .html file
Then use open url to open the extracted url or use open browser to open the html file and then click on the link in browser to open