top of page

PDF Generation (Chromium)

Since it's hard to get a binary string out of a Make.com app, you have to call the background service directly with an http request and then run the headless browser chromium to generate a pdf from some HTML code.

​

Here i have written an example how you can generate invoice with it:

Creating PDF Invoices with Make.com

URL:

Header API Key

X-RapidAPI-Key

Header API Value

<< Insert your API KEY >>

Header Host Key

X-RapidAPI-Host

Header Host Value

customjs.p.rapidapi.com

Body

{"input":"<html> <h1>Hello World</h1> <table> <tbody>  </tbody> </table> </html>", "asBase64":"true", "jscode":"return await pdfGeneration(input)"}

Screenshot 2023-03-13 at 18.09.33.png
bottom of page