Passing msg.payload to template node

.Please read the following post How to share code or flow json