Thank you for your reply.
Firstly I didn't know about the existence of node to do this while searching I just found node-red-contrib-pdfmake.
The idea came to me from a client's request and I found the PDF suitable because the images are not always displayed perfectly according to email clients and the PDF would contain all the images without using hosted files. Alternatively, we could have integrated tags into the template to render graphics simply. The idea crossed my mind and I said to myself why not ask the community to find out if there was a need on the subject. Thank you again for taking the time to respond.