Actions12
- Document Actions
- Template Actions
- Webhook Actions
Template → Update
AI-generatedOverview
This node operation updates an existing template in the SignWell system. It allows users to modify the template's name, replace the template document with new base64 encoded file data, and update the file name. Additionally, it supports a test mode to perform updates in a non-production environment. This operation is useful for maintaining and revising document templates used for signing processes, ensuring that templates remain current and accurate.
Use Case Examples
- Updating the name of a contract template to reflect a new version.
- Replacing the document file of a template with an updated PDF file encoded in base64.
- Changing the file name of a template document to a more descriptive or standardized format.
Properties
| Name | Meaning |
|---|---|
| Template ID | The ID of the template to update, used to identify which template to modify. |
| Update Fields | A collection of fields to update on the template, including the template name, file data (base64 encoded), and file name. |
| Test Mode | Whether to update the template in test mode, allowing changes to be tested without affecting production data. |
Output
JSON
id- The unique identifier of the updated template.name- The updated name of the template.file- The base64 encoded content of the updated template document.filename- The updated file name of the template document.test_mode- Indicates if the template was updated in test mode.
Dependencies
- SignWell API key credential
Troubleshooting
- Ensure the Template ID is correct and corresponds to an existing template; otherwise, the update will fail with a not found error.
- Verify that the base64 encoded file data is correctly formatted and represents a valid document file to avoid upload errors.
- If the node throws authentication errors, check that the SignWell API key credential is valid and has the necessary permissions.
- When using test mode, confirm that the environment supports test mode operations to prevent unexpected failures.
Links
- SignWell API Documentation - Update Template - Official API documentation for updating templates in SignWell.