PDFKraft icon

PDFKraft

Generate PDFs and images with PDFKraft

Download Document

AI-generated

Summary

Downloads a completed PDFKraft document by ID and attaches the file as binary data to the output item.

Inputs

  • Document ID (required) — ID of the document to download, typically returned by Generate Document.
  • Output Field Name — Binary output property name; defaults to data.

Output shape

One output item per input item, with a JSON object and a binary file.

Checks the document status first and errors if it is not success. The JSON includes documentId, filename, output_type, and download_url. The binary file uses the document's filename and detected MIME type; missing output type defaults to PDF.

Links

Discussion