# Export to document

**Category:** Function

**Version:** 1.0

**Last updated:** Januari 16, 2026

**Author:** Any2Info

***

### Description

The Export To Document node allows you to generate a Microsoft Word or Adobe PDF document from a data flow using the data received from the previous node.

The node uses a Microsoft Word template as the basis for the generated document. This template contains fields (placeholders) that are automatically filled with data from the incoming table.

Each placeholder must have the same name as the corresponding input column in order for the data to be inserted correctly.

The node supports three different execution modes, which determine how incoming rows are processed and how many documents are generated.

Execution: *Once*

All incoming rows are treated as a single data set.\
Output: One document is generated.

Execution: *For Each Row*

Each incoming row is processed individually.\
Output: One document is generated per row.

Execution: *For Each Group*

Incoming data can be grouped by one or more columns.\
Each group is processed separately.\
Output: One document is generated per group.

After document generation, you can choose to merge all generated documents into a single document.

When merging is enabled:

* All generated documents are combined into one document.
* The final output consists of one row containing one document.

***

### Configuration Options

<table><thead><tr><th width="187">Setting</th><th width="145">Required</th><th>Description</th></tr></thead><tbody><tr><td><strong>File source</strong></td><td>Yes</td><td>The connection to the location where the Word template is stored, such as a file system or Microsoft OneDrive.</td></tr><tr><td><strong>Word template</strong></td><td>Yes</td><td>A file picker that allows you to select the Word template file once the file source connection is configured.</td></tr><tr><td><strong>Merge files</strong></td><td>No</td><td>Determines whether all generated documents should be merged into a single document.</td></tr><tr><td><strong>Output type</strong></td><td>Yes</td><td>The file type of the generated document. Supported values are <strong>Microsoft Word</strong> and <strong>Adobe PDF.</strong></td></tr><tr><td><strong>Filename</strong></td><td>No</td><td>The filename of the generated document.</td></tr></tbody></table>

***

### Tips & Best Practices

* Ensure that all placeholders in the Word template exactly match the input column names.
* Use Execution: For Each Group when generating documents such as order – order rows.
* Enable Merge files when a single consolidated document is required, such as a combined report.

***

### Errors & Troubleshooting

* Placeholders are not filled:\
  Verify that the placeholder names in the Word template exactly match the input column names.
* Templates cannot be selected:

  Ensure that the file source connection is correctly configured and has access to the template location.

### Changelog

| Version | Date             | Change                               |
| ------- | ---------------- | ------------------------------------ |
| **1.0** | Januari 16, 2026 | Initial documentation version added. |
