Autype icon

Autype

Interact with the Autype Developer API for document generation, PDF tools, and more

Bulk Render → Create From JSON

AI-generated

Summary

Create a bulk render job using a JSON array of variable sets to generate multiple documents from a template.

Inputs

  • documentId (required) — The ID of the persistent document template to render.
  • format (required) — The target document output format (PDF, DOCX, or ODT).
  • items (required) — A JSON array of objects where each object contains variables for generating one document.
  • waitForCompletion — When enabled, polls the API until the bulk render job finishes before continuing.
  • downloadOutput — When enabled along with Wait for Completion, automatically downloads the resulting output ZIP file as binary data.
  • additionalFields — Optional settings, such as a Webhook URL to receive a POST request upon job completion or failure.

Output shape

A JSON object with job metadata or binary ZIP file output

If Wait for Completion and Download Output are both enabled and the job completes successfully, the node returns binary data containing the output ZIP file. Otherwise, it returns the JSON response containing the bulkJobId and status.

Examples

Example 1: Generate personalized PDF invoices in bulk and download the resulting ZIP file

Provide Document ID, set Output Format to 'PDF', enter a JSON array of variable sets in Items, and enable both Wait for Completion and Download Output.

Example 2: Trigger an asynchronous bulk document generation job with a webhook callback

Set Document ID, Output Format, and Items array, set Wait for Completion to false, and specify a Webhook URL in Options.

Links

Discussion