PDF Generator API icon

PDF Generator API

Generate PDFs, manage templates, convert HTML/URLs to PDF, and perform PDF operations like watermarking, encryption, and optimization

Document → Generate (Async)

AI-generated

Summary

Submit an asynchronous request to generate a document from a PDF Generator API template and JSON data. The node returns the API’s submission response; generation completion can be reported to an optional callback URL.

Inputs

  • Template (required) — Select a template from the list or enter its numeric ID.
  • Data (required) — JSON data to merge with the selected template.
  • Format — Choose PDF or HTML; defaults to PDF.
  • Output — Choose Base64, URL, or Viewer response format; defaults to Base64. URL and Viewer store the generated document for 30 days.
  • Callback Options — Optionally set a callback URL and JSON custom headers for the completion callback. Headers are only sent when a callback URL is provided.
  • Additional Fields — Optionally set the generated document name and enable testing mode. Testing mode does not count generation but adds a large PREVIEW stamp.

Output shape

A single JSON item per input item containing the asynchronous API submission response.

The node posts to the async document generation endpoint and does not return the generated file inline. If Continue On Fail is enabled, an item that errors instead contains an error field.

Links

Discussion