Actions5
- Render Actions
- Template Actions
Render → Retrieve a Render
AI-generatedOverview
This node, named "Templated," automates the generation of images and PDFs by interacting with an external templating service. Specifically, for the "Render" resource and the "Retrieve a Render" operation, it retrieves a previously generated render using its unique Render ID. This is useful in workflows where you need to fetch the output of a rendering process, such as downloading or further processing generated images or PDF documents.
Practical examples include:
- Automatically fetching a generated invoice PDF after a template has been processed.
- Retrieving a dynamically created image for use in marketing emails or reports.
- Integrating document generation into automated approval or archival workflows.
Properties
| Name | Meaning |
|---|---|
| Render ID | The unique identifier of the render to retrieve. This is required to specify which generated image or PDF to fetch. |
Output
The node outputs JSON data representing the retrieved render. This typically includes metadata about the render and possibly the content or a link to the generated file. If the node supports binary data output (e.g., the actual image or PDF file), it will be available in the binary data field of the output item, allowing subsequent nodes to handle or save the file.
Dependencies
- Requires an API key credential to authenticate requests to the external templating service.
- Needs the base URL of the templating service configured in the node credentials.
- The node sends HTTP requests with appropriate headers including authorization and content type set to JSON.
Troubleshooting
- Missing or invalid Render ID: Ensure that the Render ID property is provided and correctly references an existing render.
- Authentication errors: Verify that the API key and base URL credentials are correctly set up and valid.
- Network issues or service downtime: Check connectivity to the templating service and confirm the service is operational.
- Unexpected response format: Confirm that the templating service's API has not changed and that the node's version is compatible.
Links and References
- Refer to the templating service’s official API documentation for details on render retrieval endpoints and response formats.
- n8n documentation on how to configure API credentials and handle binary data in workflows.