Tool to convert HTML content or a URL to PDF format (V2). Use when you need to transform HTML strings, HTML files, or live web pages into PDF documents with advanced options like custom page sizes, margins, JavaScript support, and bookmarks.
UrlstringThe URL of the web page to convert to a PDF document. Use this instead of htmlData to convert a live webpage.
delayintegerSet the delay in milliseconds between the HTML being received and the conversion to allow time for JavaScript to load.
scalenumberSet a scale value between 0.1 and 2.0 to zoom in or out on the HTML content.
cssTypestringCSS type options for HTML to PDF conversion.
htmlDatastringThe HTML content to convert to a PDF document. Provide raw HTML string with tags.
pageSizestringPage size options for PDF output.
viewPortstringViewport options for rendering HTML.
createToCbooleanAutomatically create a Table of Contents based on the headings contained within the HTML.
marginTopnumberSet the top margin value in pixels.
pageWidthintegerSet the page width value in pixels. Only relevant when pageSize is Custom.
marginLeftnumberSet the left margin value in pixels.
pageHeightintegerSet the page height value in pixels. Only relevant when pageSize is Custom.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.