Intelligent Automation of Document-Driven Processes