DocuSign icon

DocuSign

Interact with the DocuSign eSignature REST API v2.1 — complete enterprise coverage

Actions341

Template Document → Download

AI-generated

Summary

Download a document from a specified template in a DocuSign account and store it as binary data in the workflow.

Inputs

  • Authentication — Choose the authentication method to use: OAuth2 or JWT (Service Integration). Defaults to OAuth2.
  • Category — Select the API category to work with. Defaults to 'envelopes'. This is prefilled and does not affect the template document download operation.
  • Account ID (required) — The DocuSign Account ID (GUID) which identifies your DocuSign account.
  • Template ID (required) — The ID (GUID) of the template from which to download the document.
  • Document ID (required) — The numeric ID of the document to download from the template. Special values include 'combined' for all merged documents, 'archive' for a ZIP file of documents, or 'certificate' for Certificate of Completion.
  • Binary Property — The name of the binary property where the downloaded file content will be stored in the workflow's item. Defaults to 'data'.

Output shape

a binary file stored in the specified binary property of a single workflow item.

The operation requires valid authentication and the correct Account ID and Template ID to retrieve the document. The Document ID specifies which document to download from the template. The file content is returned as binary data accessible in the specified binaryPropertyName. No pagination or multiple items are returned.

Links

Discussion