 <p>There are a couple problems with your flow.</p> <ol> <li><p>the Function node is not passing through the message object it received - it is returning a new message object with just the payload. This means the original request/response objects provided by the HTTP In node are not being passed through to the HTTP Response node. This means the flow cannot reply to the original request.</p></li> <li><p>the Template node is trying to insert <code>{{ msg.payload }}</code>. As per the examples in the sidebar help for the node, it should just be <code>{{ payload }}</code>.</p></li> </ol>