Insert HTML to PDF


The 'Insert HTML to PDF' flow action inserts the HMTL data provided into the PDF document provided. The HTML data will be inserted as a new pages(s), either at the end (default) or the beginning of the PDF document.  

Default Parameters

The default 'Insert HTML to PDF' flow action parameters are detailed below:

  • Filename: The PDF filename to be processed (including file extension).
  • File Content: (Optional) A Base64 encoded representation of the PDF document (.pdf) file to be processed.
  • Operation ID: (Optional) The ID of a parent operation, please refer to: Flow Action Return Options: File Content vs. Operation ID
  • HTML Data: Enter the HTML data to insert into the PDF document.

Please refer to the Obtaining the 'File Contents' Parameter article for guidance on how to obtain the 'File Content' parameter ready to provide to an Encodian flow action. 

Additional Guidance

Please ensure externally referenced style sheets and JavaScript files are removed from the HTML data or HTML files prior to conversion, please use inline styles. 

Advanced Parameters

The advanced 'Insert HTML to PDF' flow action parameters are detailed below:

  • Decode HTML Data: Sets whether the 'HTML Data' provided should be decoded prior to conversion. 
  • HTML Insert Location: Sets whether the 'HTML Data' should be added to the beginning (Prepend) or end (Append) of the PDF document. 
  • Final Operation: Sets whether the this is last Encodian flow action.

Please refer to the Flow Action Return Options: File Content vs. Operation ID article for further details on the 'Final Operation' parameter.

Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk