An intelligent platform for task automation