Actions6
- Generate PDF Actions
- Generate Image Actions
- Convert HTML to PDF Actions
Generate Image → Generate Asynchronously
AI-generatedOverview
This node generates images asynchronously using a specified template from PDF Noodle. It allows users to provide template variables and optionally specify a webhook URL to receive the rendered file upon completion. This is useful for automating image generation tasks where the output is processed or stored asynchronously, such as generating marketing materials, reports, or customized images based on dynamic data.
Use Case Examples
- Generate an image from a predefined template by providing template ID and variables, then receive the image via a webhook URL once rendering is complete.
- Use the node to asynchronously generate images with custom variables and store the output in an S3 bucket by specifying bucket and key options.
Properties
| Name | Meaning |
|---|---|
| Template Name or ID | Select the template to use for image generation, either from a list or by specifying an ID via expression. |
| Variables | JSON object containing key-value pairs for template variables to customize the generated image. |
| Webhook URL | URL to which the rendered image file will be POSTed upon completion of asynchronous generation. |
| Options | Additional settings such as S3 bucket and key for storage, whether the PDF has a cover page, and debug mode to access extra information. |
Output
JSON
templateId- The ID of the template used for generating the image.convertToImage- Boolean indicating that the output is an image (true for image generation).html- HTML content used if converting from HTML to PDF (not applicable here).pdfParams- Parameters for PDF generation if applicable (not used for image generation).webhook- Webhook URL to receive the rendered file asynchronously.s3_bucket- S3 bucket ID where the generated file is stored if specified.s3_key- Path inside the S3 bucket for storing the generated file.hasCover- Flag indicating if the PDF has a cover page to adjust footer/header display.data- Variables passed to the template for rendering the image.debug- Flag to enable debug mode for additional information.
Dependencies
- PDF Noodle API key credential
Troubleshooting
- Ensure the template ID is valid and accessible; invalid IDs will cause request failures.
- Webhook URL must be reachable and accept POST requests to receive the rendered file asynchronously.
- S3 bucket and key options require valid and active S3 connections configured in PDF Noodle.
- Debug mode may expose sensitive information; use cautiously in production environments.
Links
- PDF Noodle Node Documentation - Official documentation for the PDF Noodle node in n8n.
- PDF Noodle API - API documentation and base URL for PDF Noodle service.