This is a "Workflow failure monitor" workflow I created a while a back to monitor for failed workflows and send a text email to my phone.

att_worflows is an array of Workflows to monitor.
att_inParamsToSend is an array of Input Parameter strings to send along with the failure notification. i.e. a Server Name, Transaction ID, etc...
att_emailToAddr is a comma delimited list of email addresses to send the failure notifications
att_emailSubject ...need I explain 
att_tokenStatesToMonitor is an array of the states to monitor
In my environment (vCO 4.2.0) I've set up a recurring scheduler to run the Workflow failure monitor every 10 minutes.
