DocuSign icon

DocuSign

Send documents for eSignature and manage envelopes with DocuSign

Actions198

Envelope → Download Document

AI-generated

Summary

Downloads a document (or all documents combined) from a DocuSign envelope and stores the file in a binary property on the output item.

Inputs

  • Authentication — Credential type used for the request: JWT (Service Integration, default) or OAuth2 (User Authorization).
  • Envelope ID (required) — ID of the envelope to download from.
  • Document ID — Which document to fetch. Defaults to "combined" (all documents merged). Use "certificate" for the certificate of completion, or a specific document ID. The source comments also mention "archive" as a possible value, though the property description doesn't list it.
  • Binary Property — Name of the binary property that will hold the downloaded file. Defaults to "data".

Output shape

One output item per input item, with the downloaded document stored as binary data under the configured binary property name.

The handler body isn't included in the source pack, so the exact JSON fields, file name and MIME type aren't confirmed. Downstream nodes read the file from the binary property, for example to write to disk or upload to cloud storage. The source comments say the document ID is validated, so a malformed ID may raise an error.

Examples

Example 1: Archive the signed PDF of a completed envelope after a DocuSign webhook fires.

Envelope ID = {{$json.envelopeId}}, Document ID = combined, Binary Property = data; pass the output to a Google Drive or S3 upload node.

Example 2: Save the certificate of completion for audit purposes.

Envelope ID from the previous node, Document ID = certificate, Binary Property = certificate.

Links

Discussion