Again here with my queries haha, at this point I come to ask if there is a way to convert an HTML file to PDF and then send it by mail, I was trying to import some javascript libraries but n8n does not recognize them (I have enabled the variables to import any type of libraries) is there any node that can do it? I was investigating the convert and the extract but I can’t figure it out.
We don’t have a built in option so you would need to either get an npm package working or use a service like API Template or ILovePDF (with an http request node) depending on what option you would rather take.
Hello @Maciej_Mogilany
I did it and it worked… but I am having 2 problems, one is that I don’t know why I get the word ‘html’ at the beginning of the pdf. and the other one is that at the end of the pdf I get the styles