Ive never used the node but depending on which version of node-red you are using there are many different ways of doing this with nodes.
But without that info a function node with
msg.reset = "whatever you need here";
return msg;
Should do what you require.
There are some example of writing function nodes in the documentation on the website