Actions34
- Asset Actions
- Conversion Actions
- Document Actions
- E-Invoice Actions
- PDF Service Actions
- Template Actions
- Workspace Actions
Conversion → HTML to PDF
AI-generatedSummary
Convert supplied HTML content to a PDF through the PDF Generator API. Set a filename and optionally choose the page size, orientation, and whether the result is returned as base64 JSON or binary file data.
Inputs
- HTML Content (required) — HTML to convert; must contain at least 10 characters.
- Filename (required) — Output filename without the .pdf extension. Use letters, numbers, dots, hyphens, or underscores.
- Additional Options — Optionally set the PDF paper size (A0–A4, Legal, Letter, or Tabloid), orientation (portrait or landscape), and output format (base64 JSON or binary file). Defaults are A4, portrait, and base64.
Output shape
One output item per input item, containing JSON and optionally binary data.
Base64 mode returns JSON with success, the .pdf filename, format, and fields from the API response, including its base64 content. File mode attaches the PDF as binary under a property named after the filename, with JSON metadata including file size.