The summer is at its full bloom, and in the summer some things come to mind more often than in the other three seasons. One of those things are of course boobs. So I came across a very interesting site, a while ago. It’s called boobstagram. The site is featuring, you got it right, pictures of boobs. Watching boobs is fun of course, so my colleagues and me quickly realized it would be nice to get one of those pictures in mailbox in the morning. Nothing says “Good Morning” better that a nice pair of boobs :) So we made an Orchestrator runbook, that does it.
The runbook is quite simple, it contains only three activities. The first one is “Query XML”, it is used for downloading RSS feed from the site. You probably didn’t know this, but Query XML activity can open a file stored on a web server. The second thing it does, is parsing the XML. In my case the settings are configured as follows:
The activity will return, multiple items, and because we have to pass the result in a script that will select a random item, we have to configure the output to be a comma separated string:
The next activity is a script, that will return one of the items in a RSS feed, and remove the #boobstagram text from result:
We also have to configure which variable will be used as published data of the activity:
The only thing left to do is to use the output of a script and build a e-mail message, and send it. We can use Send Email activity to do that:
Don’t forget to configure the SMT connection details in Connect tab, so Orchestrator knows how to send the e-mail. You can trigger the runbook manually, or add a Monitor Schedule activity in the beginning and set the time on when you want the boobs are sent to you. That’s it for today, and have fun orchestrating stuff :)