Hey,
Here is my scenario, I want people to fill up the form with their name and number of persons, and I want to create personalized ID passes with my ID card design and want to replace the variable in the card with their name and number of persons attending dinner party, and then send them this card via whatsapp or telegram, but how can I generate such images or pdf with the form data with my design in background.
I am using n8n on hostinger vps
I can submit for with google form or n8n form or any webhook to receive name and number of persons and then I want to add that to the predefined template which has a design background, and yes I already have a design ready
Since yours is a request rather than a problem next time I recommend you open a topic on Help me Build my Workflow
First of all, of course, find a way to receive the form filling data, then for image manipulation I used https://imagemagick.org/ or https://craftmypdf.com/ to directly generate PDFs or images.
Once modified you can use a telegram node or whatsapp cloud API to send.
Also I am using google docs to generate pdf and save it to google drive but its giving me error at the end unsupported file type. I am almost there if you can help.
it seems that the exported file type is not good.
After the Download node, insert a Set node and configure a field as: {{ $binary.data.mimeType }}
If you see application/pdf, you’re good to go.
Also while uploading, make sure that you are saving the PDF binary file, and not converting it back to a Google document.
ok, but as you see in my screen shot the google drive 2 i.e. upload file node already gives me google drive pdf download link, which I want to send via whatsapp, so I already have the file but its not getting me literal pdf to be sent via whatsapp, when I open the pdf in whatsapp it gives unknown file type error.