Clear the previous Inputs on ui

What have you tried?
If you want to send a message to a node how do you think you would do it?