Help with logic filtering of message

Get the join working then you can easily do that in a function node.