Templated icon

Templated

n8n node to automate the generation of images and PDFs with Templated (https://templated.io).

Overview

This node integrates with the Templated service to automate the generation of images and PDFs based on templates. Specifically, the "List Template Layers" operation retrieves all layers associated with a given template ID. This is useful when you want to inspect or manipulate the individual components (layers) of a template before generating final outputs.

Practical examples include:

  • Fetching all layers of a design template to dynamically modify certain elements.
  • Automating workflows where template layers need to be listed for validation or reporting.
  • Integrating template layer data into other systems for further processing or customization.

Properties

Name Meaning
Template ID The unique identifier of the template whose layers you want to retrieve. This is required.

Output

The node outputs JSON data containing the list of layers for the specified template. Each item in the output typically represents a single layer with its properties as defined by the Templated API. The exact structure depends on the API response but generally includes details such as layer names, types, positions, and other metadata relevant to each layer.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for authenticating with the Templated service.
  • Needs the base URL of the Templated API configured in the credentials.
  • The node sends HTTP requests with appropriate headers including authorization bearer token.

Troubleshooting

  • Missing or invalid Template ID: Ensure that the Template ID property is provided and correctly matches an existing template in your Templated account.
  • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
  • Network or API errors: Check connectivity to the Templated API endpoint and confirm the base URL is correct.
  • Unexpected API responses: If the output is empty or malformed, verify that the template actually contains layers and that the API version used is compatible.

Links and References

  • Templated Official Website
  • Refer to Templated API documentation for detailed information about template layers and their properties.

Discussion