Label: :IA_Function
Property: type: PDFFile
Inherits from: Function

The PDFFile Function generates a PDF file based on a given JSON description. It is based on the PDFMake.


Key Description Default value Possible values
document PDFMake PDF file content definition {} object
download Trigger automatic download of the generated file true true / false
filename Filename for downloaded document.pdf string

Outgoing triggers

Type: success

Occurrence: when the PDF file is successfully generated and download is set to false

Additional event properties (besides the inherited properties):

Key Description Possible values
data PDF file content binary blob
filename Value of the filename Function parameter string