French Procurement Filler icon

French Procurement Filler

Remplit les formulaires marchés publics français (DC1, DC2, AE) - Mode standard ou hybride IA

Fill Standard

AI-generated

Summary

Replaces {{PLACEHOLDER}} tags in a DOCX binary with company data values using a predefined mapping, then returns the filled document.

Inputs

  • formType — Form variant (DC1, DC2, or AE). Declared in node schema but not consulted during fillStandard execution; placeholder replacement uses the global DEFAULT_PLACEHOLDER_MAP.
  • documentProperty (required) — Binary property name containing the DOCX document with {{PLACEHOLDER}} tags to fill.
  • companyData (required) — Company data JSON. Keys should match placeholder variable names (e.g., NOM_COMMERCIAL, ADRESSE, EMAIL, TELEPHONE, SIRET, FORME_JURIDIQUE, CA_N, etc.). Values are substituted into the document via the placeholder map.
  • outputProperty — Binary property name for the filled DOCX output. Defaults to 'filledDocument' if omitted.

Output shape

array

Returns an array with one item. The JSON summary includes success, operation, fieldsFilledCount, and companyName. The binary property named by outputProperty contains the filled DOCX buffer; other input binary properties are preserved on the output item.

Examples

Example 1: Fill a DC2 form with company data

Set formType to 'dc2', bind a DOCX binary with {{PLACEHOLDER}} tags to documentProperty, provide companyData JSON with matching keys, leave outputProperty at default. The node replaces all mapped placeholders and outputs the filled document as a new binary property plus a JSON summary.

Links

Discussion