Email HTML Table from core Template Node

#1

Hi guys,

I have an HTTP end point that generates an HTML table for reporting purposes. I want to use this same flow to extract the HTML and send via email. The HTTP Out generates the table perfectly, but when I want to use the payload generated by the Template Node, the ng-repeat does not seem to work.

This the code in the template node which generates the HTML when using as part of the HTTP IN >> HTTP Response Flow:

When I want to use the output of the template node in my second flow which will send the result via email, the result in the email just shows the header and the ng-repeat template, but no data.

Can anyone point me in the right direction please?

Thanks.

0 Likes

#2

I instead put the html in a template node and filled in the data with mustache.
Then sent to a file node and created an html file that then got sent via email.

2 Likes