convert task add input to web sockets