DocX icon

DocX

Generez des documents Word/PDF et des factures Factur-X depuis des modeles, et gerez vos modeles (LayerOne DocX)

Document → Render Document

AI-generated

Summary

Generate a PDF or DOCX file by sending JSON data to LayerOne DocX with a stored template ID. The response is returned as binary data in the data property.

Inputs

  • Template ID (required) — ID of a template already uploaded to LayerOne DocX.
  • JSON Data (required) — JSON string containing the values to render into the template.
  • Output Format — Choose PDF or DOCX; defaults to PDF.
  • Output Filename — Filename for the generated document; defaults to document.pdf.
  • Request Options — Optional batching, SSL certificate validation, proxy, and request timeout settings.

Output shape

A single item containing generated document binary data in the data property.

The node sends a POST request to /render-document and returns the response as binary data.

Links

Discussion