D4Sign icon

D4Sign

Interact with the D4Sign API

Document Workflow → Download Document

AI-generated

Summary

Download a document file from D4Sign by its UUID with options to specify format, language, inclusion of signer documents, and encoding, storing the file in a binary property.

Inputs

  • Document UUID (required) — UUID of the document to download.
  • Download Type — Specify the file type to download: PDF, PDF/A, or ZIP.
  • Language — Language for the generated document content: Portuguese or English.
  • Include Signer Documents — Include signer-related documents in the download if enabled.
  • Base64 Encoding — Request the document as Base64 encoded text instead of raw binary.
  • Binary Property — Name of binary property where the downloaded file bytes will be stored.

Output shape

a single item containing JSON metadata and a binary property with the downloaded file content

The node returns an object with JSON containing response metadata (including the file name) and a binary field named as configured to hold the downloaded document content as a Buffer. The download fetches the file from a URL provided by D4Sign's API using an authenticated GET request. If Base64 encoding is requested, the API returns a URL to a .txt with Base64 content; otherwise, the file is downloaded as raw binary data.

Links

Discussion