HTML → PDF
AI-generatedSummary
Convert provided HTML content into a PDF file using a remote rendering service and store the result in a binary property.
Inputs
- html (required) — The HTML string content to render into PDF. Supports expressions.
- binaryPropertyName (required) — The name of the binary property where the generated PDF file will be stored.
- fileName — Filename to assign to the generated PDF (default: 'document.pdf').
- options — PDF rendering options including page format, orientation (landscape), print background inclusion, page margins (top, right, bottom, left), and the event to wait for before rendering (load, DOM content loaded, network idle).
Output shape
A single output containing one item per input with a binary property holding the PDF file data and JSON metadata about the PDF generation success, filename, size, MIME type, and renderer origin.
If the remote render fails, the node throws an error unless 'continue on fail' is enabled, which returns error details in JSON per errored item.