Actions6
- Generate PDF Actions
- Generate Image Actions
- Convert HTML to PDF Actions
Convert HTML to PDF → Convert HTML to PDF Asynchronously
AI-generatedOverview
This node converts an HTML string into a PDF file asynchronously using the PDF Noodle service. It is useful for scenarios where you need to generate PDF documents from HTML content, such as creating reports, invoices, or formatted documents, and want the process to run asynchronously with a webhook callback upon completion.
Use Case Examples
- Generating a PDF invoice from an HTML template and receiving the file via a webhook URL once the conversion is complete.
- Converting a complex HTML report to PDF asynchronously to avoid blocking workflow execution.
Properties
| Name | Meaning | |
|---|---|---|
| HTML String | The full HTML string to convert into a PDF, including the tag. | Print Parameters |
| Webhook URL | URL to which the rendered PDF file will be POSTed upon completion of the asynchronous conversion. | |
| Options | Additional options including S3 bucket and key for storage, whether the PDF has a cover page, and debug mode to access extra debug information. | |
| Output JSONtemplateId - ID of the template used for PDF generation (not applicable for HTML to PDF resource).convertToImage - Boolean indicating if the output is converted to an image (false for HTML to PDF).html - The HTML string sent for conversion.pdfParams - Parameters used for printing the PDF file.webhook - Webhook URL provided for asynchronous callback.s3_bucket - S3 bucket ID where the PDF is stored if specified.s3_key - S3 key path for storing the PDF file.hasCover - Boolean indicating if the PDF has a cover page.data - Data variables used for template rendering (not applicable for HTML to PDF).debug - Boolean indicating if debug mode is enabled. Dependencies PDF Noodle API service Troubleshooting Ensure the HTML string is well-formed and includes the full tag to avoid conversion errors.Verify the webhook URL is reachable and correctly configured to receive POST requests for asynchronous operation.Check that the S3 bucket and key options are correctly set if using S3 storage to avoid file saving issues.If debug mode is enabled, review the additional debug information to identify validation errors or rendering issues. Links PDF Print Parameters Documentation - Documentation for available PDF print parameters used in the node. |