Actions5
- Render Actions
- Template Actions
Overview
The node "Templated" automates the generation and management of images and PDFs using the Templated service (https://templated.io). Specifically, for the Template resource with the List Template Renders operation, it retrieves a paginated list of render results associated with a specific template ID. This is useful when you want to programmatically access or audit all generated outputs (renders) of a particular template.
Practical examples include:
- Fetching all PDF or image renders created from a marketing email template.
- Auditing or exporting render metadata for reporting purposes.
- Integrating render data into downstream workflows for further processing or storage.
Properties
| Name | Meaning |
|---|---|
| Template ID | The unique identifier of the template whose renders you want to retrieve. |
| Page | The page number of results to fetch, starting at 0 for the first page. |
| Limit | The maximum number of render results to return per request. Minimum value is 1. |
Output
The node outputs JSON data containing the list of template renders retrieved from the Templated API. Each item in the output typically represents a single render instance, including metadata such as render ID, status, timestamps, and possibly URLs or references to the generated files (images or PDFs).
If the node supports binary data output (not explicitly shown here), it would represent the actual rendered files (images/PDFs). However, based on the provided code and properties, the primary output is JSON metadata about the renders.
Dependencies
- Requires an API key credential for authenticating with the Templated service.
- Needs the base URL of the Templated API configured in credentials.
- The node uses HTTP requests with JSON content type and Bearer token authorization.
Troubleshooting
- Invalid Template ID: If the template ID does not exist or is incorrect, the API may return an error or empty results. Verify the template ID before running.
- Authentication Errors: Missing or invalid API key will cause authorization failures. Ensure the API key credential is correctly set up.
- Pagination Issues: Requesting pages beyond available data returns empty results. Adjust the
pageandlimitparameters accordingly. - Rate Limits: Excessive requests might be throttled by the Templated API. Implement retries or backoff if needed.
Links and References
- Templated Official Website
- Templated API Documentation (assumed location; verify actual docs URL)