CarbonConnecteurStable

Render document (Carbon)

Renders a DOCX template with process data and materializes the result as an Ormuz file in DOCX or PDF.

Vue d’ensemble

Renders a DOCX template with process data and materializes the result as an Ormuz file in DOCX or PDF.

Exemple

Generate a PDF contract from an approved template and order data before signature.

Parameters 5

extension_config_idRequisref(extension_config:carbon)
Extension configuration used for this operation.
template_fileRequisref(file)
DOCX file serving as the generation template. The template remains a file managed separately from the produced document.
dataRequisobject
Structured data injected into the template. It must match variables actually expected by the document.
output_formatRequisenum
Generated document format: DOCX or PDF.
output_filenameOptionnelstring
Optional name of the produced Ormuz file.

Outputs 1

document_fileFile
Ormuz file containing the rendered document in the requested format.

Behavior

Carbon receives the template and merge data, produces the requested document, then Ormuz stores the result as platform.file for subsequent steps.

Limits and responsibilities

  • Generation renders a document; it does not validate the business correctness of injected data.
  • The template must be designed and versioned as a separate document artifact.
  • Do not treat the produced PDF as a new source of business truth.