Actions198
- Account Custom Field Actions
- Account Group Actions
- Account Settings Actions
- Account Signature Actions
- Account User Actions
- Account Watermark Actions
- Billing Actions
- Brand Actions
- Bulk Send Actions
- Captive Recipient Actions
- Chunked Upload Actions
- Cloud Storage Actions
- Comments Actions
- Composite Template Actions
- Connect Configuration Actions
- Connect Event Actions
- Consumer Disclosure Actions
- Contact Actions
- Custom Tab Actions
- Diagnostics Actions
- Document Generation Actions
- Email Archive Actions
- Envelope Actions
- Envelope Purge Actions
- Envelope Attachment Actions
- Envelope Custom Field Actions
- Envelope Document Field Actions
- Envelope Email Setting Actions
- Envelope Lock Actions
- Envelope Notification Actions
- Envelope Transfer Actions
- Folder Actions
- ID Verification Actions
- Notary Actions
- Notary Journal Actions
- Payment Tab Actions
- Permission Profile Actions
- PowerForm Actions
- Recipient Tabs Actions
- Reporting Actions
- Scheduled Routing Actions
- Signing Group Actions
- Supplemental Document Actions
- Template Actions
- Template Bulk Recipient Actions
- Template Custom Field Actions
- Template Document Actions
- Template Lock Actions
- Template Notification Actions
- Template Recipients Actions
- Template View Actions
- Trust Service Provider Actions
- Workspace Actions
- Organization Actions
Template Document → Add
AI-generatedSummary
Adds a new document to an existing DocuSign template, using base64-encoded content supplied in the node parameters. The source pack only shows handler signatures, so the exact API call isn't visible.
Inputs
- Authentication — Credential mode: JWT (service integration, default) or OAuth2 (user authorization).
- Template ID (required) — ID of the template to add the document to.
- Document Name (required) — Name of the document as it will appear in the template.
- Document Content (Base64) (required) — Base64-encoded file content. Pass it as a string, for example from an expression that converts a prior node's binary data.
- File Extension — File type of the document, such as pdf or docx. Defaults to pdf.
- Document Order — Position of the document within the template. Minimum 1, default 1.
Output shape
The DocuSign API response for the add-document call, returned as the node's output item. It is likely to describe the template's documents, but the exact fields aren't visible in the provided source.
The handler body (handleTemplateDocumentAdd) is not included in the pack, so the exact endpoint and response fields are unconfirmed. Errors from DocuSign (invalid template ID, bad base64, and so on) are raised as node errors, and the shared request helper retries on rate limits and 5xx responses.
Examples
Example 1: Attach a generated PDF contract to an existing template
Template ID = existing template ID; Document Name = 'Service Agreement'; Document Content (Base64) = base64 string from a previous node; File Extension = pdf; Document Order = 1.
Example 2: Add a Word document as the second document in a template
Template ID set; Document Name = 'Appendix A'; Document Content (Base64) = base64 of the .docx; File Extension = docx; Document Order = 2.