DocuGenerate icon

DocuGenerate

Automatically generate high-quality PDF documents from Word templates

Overview

The node "DocuGenerate" enables automatic generation and management of high-quality PDF documents based on Word templates. Specifically, the "Get Template" operation under the "Template" resource allows users to retrieve details about a specific document template by selecting it from a list or specifying its ID. This is useful in scenarios where workflows need to dynamically access template metadata or content before generating documents, such as automating contract creation, report generation, or personalized document assembly.

Properties

Name Meaning
Template Name or ID Select a template from a dropdown list populated with available templates fetched from the external API, or specify a template ID directly using an expression. This identifies which template's details to retrieve.

Output

The node outputs JSON data representing the details of the requested template. This typically includes metadata such as the template's name, ID, and possibly other descriptive fields provided by the external service. The output does not include binary data.

Dependencies

  • Requires an API key credential for authenticating requests to the external DocuGenerate API.
  • The node makes HTTP GET requests to https://api.docugenerate.com/v1/template to fetch the list of templates and to retrieve specific template details.
  • Proper configuration of the API key credential within n8n is necessary for successful operation.

Troubleshooting

  • Empty Template List: If the dropdown for templates is empty, verify that the API key credential is correctly configured and has sufficient permissions. Network issues or API downtime can also cause this.
  • Invalid Template ID: Specifying a non-existent or malformed template ID may result in errors or empty responses. Ensure the ID matches one from the available templates.
  • Authentication Errors: Common error messages related to authentication indicate invalid or missing API keys. Recheck the credential setup.
  • API Rate Limits: Excessive requests might trigger rate limiting; consider adding delays or handling retries gracefully.

Links and References

Discussion