Actions8
- Document Actions
- Template Actions
Template → Get Template
AI-generatedOverview
This node interacts with the DocuGenerate API to retrieve a specific template by its name or ID. It is useful in scenarios where users need to fetch template details for document generation workflows, such as automating the creation of PDFs from predefined Word templates. For example, a user can select a template from a list or specify its ID to get the template's metadata or content for further processing.
Use Case Examples
- Fetching a template to preview its structure before generating a document.
- Retrieving template details to dynamically populate document generation parameters.
Properties
| Name | Meaning |
|---|---|
| Template Name or ID | The identifier or name of the template to retrieve. It can be selected from a list or specified using an expression. |
| Request Options | Additional settings to control the request behavior, including batching, SSL certificate validation, proxy configuration, and timeout settings. |
Output
JSON
id- The unique identifier of the retrieved template.name- The name of the retrieved template.description- Description or metadata of the template.createdAt- Timestamp when the template was created.updatedAt- Timestamp when the template was last updated.
Dependencies
- DocuGenerate API key credential
Troubleshooting
- Ensure the API key credential is correctly configured and has the necessary permissions to access templates.
- If the template ID or name is incorrect or does not exist, the node will fail to retrieve the template. Verify the input value.
- Network issues or incorrect proxy settings can cause request failures. Check proxy configuration and network connectivity.
- If SSL certificate validation is disabled, be aware of potential security risks.
- Timeout errors may occur if the server is slow to respond; adjust the timeout setting accordingly.
Links
- DocuGenerate API - Get Template - Official API documentation for retrieving templates from DocuGenerate.