How to Automate Unpredictable Processes