To stay in touch with the jolly Christmas spirit, Santa decided to model his flow in an alliterating fashion. The flow consists of three core components:
-
Bring_Back_Beardy_Backups.xaml
-
Combine_Christmas_Components.xaml
-
Merry_Mailer.xaml
Bring_Back_Beardy_Backups.xaml loops through gifts_advanced.xlsx and navigates to each of Santa’s sources. To prevent the need for using different selectors, Santa programmed his ‘Click Download button’ activity as a try-catch:
First, Santa’s robot helper will try to click on a selector that contains ‘download’ within the ‘aria-label’ attribute:
If that doesn’t work, the robot tries using a different selector:
This way, the robot will be able to find the download button on all of the source websites.
After downloading each beardy backup, the robot proceeds to Combine_Christmas_Components:
Here, each ‘Christmas component’ is extracted into a combined archive.
Finally, Santa’s robot helper emails the Combined Christmas Components within the “Merry_Mailer” workflow: