There is an example of how to join messages here Create a single message from separate streams of messages : Node-RED
or another example here
There is an example of how to join messages here Create a single message from separate streams of messages : Node-RED
or another example here