Actions23
- Template Actions
- AI Tool Actions
- Form Actions
- Submission Actions
- Submitter Actions
Overview
The node integrates with the DocuSeal API to manage document templates, submissions, submitters, forms, and AI-generated documents. Specifically, for the Template - Archive operation, it deletes (archives) a specified document template by its ID. This is useful when you want to remove outdated or unused templates from your DocuSeal account programmatically.
Common scenarios include:
- Automating cleanup of templates that are no longer needed.
- Managing template lifecycle within document workflows.
- Integrating template management into larger document automation pipelines.
Example: Automatically archive a template after a project ends to keep your template list organized.
Properties
| Name | Meaning |
|---|---|
| Template ID | The numeric ID of the template to archive (delete). |
Output
The output JSON contains the response from the DocuSeal API after attempting to archive the template. Typically, this will be an object indicating success or failure of the deletion request. The exact structure depends on the API but usually includes status information.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the DocuSeal API via an API key credential configured in n8n.
- The node uses internal helper functions to make authenticated HTTP requests to DocuSeal endpoints.
- No additional external dependencies beyond the DocuSeal API and n8n environment.
Troubleshooting
- Invalid Template ID: If the provided Template ID does not exist or is invalid, the API will likely return an error. Ensure the ID is correct.
- API Authentication Errors: Missing or incorrect API credentials will cause authentication failures.
- Network Issues: Connectivity problems can prevent successful API calls.
- Error Message Example:
Failed to archive template: <error message>indicates the API call failed; check the error details for specifics. - To resolve errors, verify the Template ID, ensure valid API credentials, and confirm network connectivity.
Links and References
- DocuSeal API Documentation (general reference for API endpoints)
- n8n documentation on creating custom nodes