Intelligent automation system