Intelligent Automation of network tasks