I usually work with Function and Function Item nodes to generate my emails and HTML pages.
But using those nodes to generate content is not usable for non-technical users.
I have created a new community node Document Generator that fixes this using the Handlebars library.
It will be very useful indeed. Was actually thinking of developing this myself.
I do wonder about the handlebars, this isnt a standard package in n8n right? so it is being installed when installing this?
If so, please also mention this in the doc, I didn’t see it listed at a quick glance.
Sorry, I wasn’t clear.
I know it will install it when needed, I have tested the node and works great on first try.
It would however be very important to let people know what will be installed when installing this node.
Most Community nodes do not have any dependencies .
The node only generates content using a template and combining with your JSON input.
This is the output. And this output could be saved to a binary file in the future (HTML, TEXT or PDF).
I think your demand is a bit different. What kind of files are you trying to combine and why?
I try to combine email adresses with binary files as attachments and send them. I have already done and it is working but maybe i though would be more elegant to use your node to do it.