Générer un document (Ormuz)
Rend un modèle DOCX avec les données du processus en PDF et stocke le document généré comme fichier Ormuz.
Vue d’ensemble
Objectif
Generates a PDF from a DOCX template and process data, then exposes the generated document as an Ormuz file.
The template remains a file managed in Ormuz: the process chooses which template to use and supplies only the context required for rendering.
Quand l’utiliser
- To produce an invoice, certificate, contract, or other PDF document from a DOCX template.
- When the generated document must be reusable by subsequent steps as a
platform.fileobject.
Parameters 3
template_file
DOCX file used as the template. It can be selected or uploaded from the node editor.
context
Object passed to the template to resolve its variables. Values may come from process inputs, variables, and previous outputs.
output_filename
Desired name for the generated PDF. When omitted, Ormuz uses the extension's default name.
Outputs 1
document_file
Generated PDF file stored in Ormuz, directly usable by subsequent nodes.
Behavior
Choose the template
Select a DOCX template available to the merchant or upload one from the node editor.
Build the context
Map the business data expected by the template from the typed process context.
Generate the document
The extension applies the context to the template and produces a PDF document.
Reuse the file
The PDF is exposed as document_file so it can be displayed, sent, or used by a later step.