I am working on setting up an automation for it to go into my gmail account - select a folder with emails in it - open each email 1 at a time - click on a specific link that is after words indicating to click on it (the link may be different every time) - then a webpage will pull up from clicking the link and it will need to wait for the timer to count down - once the time counts down to 0 and it sees that I earned credits then it would close the webpage and go back to my email and delete it. - then it would follow the same process for all of the emails in that folder.
I found a couple good videos explaining how to set up the first part, but I’m stuck at instructing it to read the email and click on the link and then everything after that… Cane anyone help me with the specific coding instructions I need to do for that?
You would need to break this down into steps and show the specific problems you are dealing with at each stage.
But something like:
- Use get email activity (not sure if there is a gmail specific activity) which will create a variable with a list of emails
- Use a for each loop activity to go through each email
- Use Regex to extract links, if there is more than one in the email you need to find a way to differentiate the ones you want
- Use a use application/web browser scope activity to open the link in the browser
- Use a UI selector to identify the timer and somehow read the timer… you could maybe use some sort of image recognition, or get the selector at the time the countdown has run and then include a wait activity of some sort to wait for that selector to appear.
- Use a close tab activity (assuming there is one, or send a keyboard short cut or just close the browser using an activity
- Rinse and repeat till all emails are done