Actions6
- Generate PDF Actions
- Generate Image Actions
- Convert HTML to PDF Actions
Generate Image → Generate Syncronously
AI-generatedOverview
This node generates images synchronously using a specified template from PDF Noodle (previously pdforge). It allows users to select a template by name or ID, provide variables to populate the template, and configure options such as S3 storage details, cover page presence, and debug mode. This is useful for automating image generation based on predefined templates, for example, creating customized marketing images or reports.
Use Case Examples
- Generate an image from a selected template by providing dynamic variables to customize the content.
- Store the generated image directly to an S3 bucket by specifying the bucket and key in options.
- Enable debug mode to get detailed rendering information for troubleshooting template issues.
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 to populate the template variables for dynamic content generation. |
| Options | Additional settings including S3 bucket and key for storage, whether the image has a cover page, and debug mode to access extra debug information. |
Output
JSON
templateId- The ID of the template used for generating the image.convertToImage- Boolean flag indicating the output is an image.data- Variables used to populate the template for image generation.s3_bucket- S3 bucket ID where the image is stored if specified.s3_key- S3 key path where the image is saved if specified.hasCover- Indicates if the image has a cover page.debug- Indicates if debug mode was enabled for the generation process.
Dependencies
- PDF Noodle API key credential
Troubleshooting
- Ensure the template ID is valid and accessible; invalid IDs will cause request failures.
- Verify that the variables JSON is correctly formatted to avoid parsing errors.
- If using S3 storage, confirm the S3 connection ID and key path are correct and the bucket is accessible.
- Enable debug mode to get detailed error messages and rendered HTML for troubleshooting template issues.
Links
- PDF Noodle Node Documentation - Official documentation for the PDF Noodle node in n8n, including usage and configuration details.