ai workflow automation threats