How to send data from function flow to a template flow

hi i have this project I want to create an HTML page which can display values in real time my problem is that when I do

{{msg.payload}}
in the flow template the page does not work anymore

Hi.

You may need to explain this a bit more.

I'm not understanding what you mean.