Actions12
- File Actions
- Template Actions
- Job Actions
Overview
This node interacts with the Json2Doc API to manage document templates and perform document generation tasks. Specifically, the 'Template Upload' operation allows users to upload a DOCX template file to the Json2Doc service, providing a name and optional description for the template. This is useful for automating document creation workflows where predefined templates are required, such as generating contracts, reports, or personalized documents based on dynamic data.
Use Case Examples
- Uploading a DOCX template file named 'InvoiceTemplate' with a description to be used later for generating invoices.
- Automating the upload of multiple document templates to a central document generation service for consistent document formatting across an organization.
Properties
| Name | Meaning |
|---|---|
| Binary Property | The name of the binary property that contains the DOCX template file to be uploaded. |
| Template Name | The name assigned to the uploaded template for identification within the Json2Doc service. |
| Description | An optional description providing additional details about the template. |
Output
JSON
id- Unique identifier of the uploaded template.name- Name of the uploaded template.description- Description of the uploaded template, if provided.createdAt- Timestamp when the template was created.updatedAt- Timestamp when the template was last updated.
Dependencies
- Requires an API key credential for Json2Doc API authentication.
Troubleshooting
- Ensure the binary property specified contains a valid DOCX file; otherwise, the upload will fail.
- If the API key is invalid or missing, the request to upload the template will be rejected with an authentication error.
- Network issues or incorrect API endpoint URL can cause request failures; verify connectivity and endpoint correctness.