Create a File
Create a File writes flow data out as a CSV, an Excel workbook or an XML
document, and files the result in a workspace file store. You find it on the
node picker’s Transform & data shelf.
The node has one input handle and one output handle.
Rows for CSV and Excel, a document for XML
Section titled “Rows for CSV and Excel, a document for XML”The two halves work differently, and the difference is deliberate.
CSV and Excel take rows and a column spec. Give data a JSON array of
objects and columns the columns to write, and the node builds the file. Typed
columns are the point: a number written as text is a number that will not sum,
and a date without a format writes as its serial number, which is legible to
nobody.
XML takes a finished document. data is the rendered XML string, not a
structure to convert. There is no general mapping from JSON to XML — attributes,
namespaces, element order and repetition have no JSON counterpart — so the node
does not invent one. Render the document with a
Text Expression node and pass it here, optionally
with a schema to validate it before anything is stored.
Configuration
Section titled “Configuration”

The form shows File store, Path, Format and Content first. The columns, the download name, the sheet name, the CSV dialect, the XML Schema and the rest sit under More settings.
| Field | Type | Default | Description |
|---|---|---|---|
File store (objectStoreId) | string ✦ (required) | — | The file store to write the finished file into. |
Path (key) | string ✦ (required) | — | Where the file lands in the store, e.g. exports/2026-08/uittrekstaat.xlsx. |
Format (format) | one of csv, xlsx, xml ✦ (required) |
— | What to write. |
Content (data) | string ✦ (required) | — | The rows to write, as a JSON array of objects. For XML, the finished document instead. |
Columns (columns) | string ✦ (optional) | — | The columns to write, as JSON: [{“name”:“qty”,“label”:“Aantal”,“type”:“number”}]. Leave empty to use the keys of the first row. |
Download name (filename) | string ✦ (optional) | — | The name a person sees when they download it. Defaults to the last part of the path. |
Sheet name (sheetName) | string ✦ (optional) | — | The sheet name, for Excel. Defaults to Sheet1. |
CSV dialect (dialect) | one of rfc4180, excel-eu, tsv ✦ (optional) |
— | How the CSV is punctuated: rfc4180 (comma, no BOM), excel-eu (semicolon with a BOM) or tsv. |
XML Schema (schema) | string ✦ (optional) | — | An XML Schema (XSD) to validate the document against before storing it: a stored .xsd by path (Schemas/begroting.xsd) or id, or the schema itself pasted in. |
Stop on a bad value (failOnBadValue) | boolean ✦ (optional) | true |
Fail when a value does not fit its declared column type. |
Number language (numberLocale) | string ✦ (optional) | — | The language the data writes its numbers in, e.g. nl for 1.289,50. Leave empty for numbers written as 1289.50. |
Delete after (days) (expiresInDays) | integer ✦ (optional) | — | Days until the file is deleted. Empty deletes it after 90 days; 0 keeps it until someone deletes it. |
Fields marked ✦ accept expressions.
Try this node — run it once against your own workspace, with your credentials, without building a flow first.
Columns
Section titled “Columns”columns is a JSON array, one entry per column, in the order they should
appear:
[ { "name": "sku", "label": "Artikel", "type": "text" }, { "name": "qty", "label": "Aantal", "type": "number" }, { "name": "total", "label": "Bedrag", "type": "money", "currency": "EUR" }]name is the key read from each row, label is the heading written into the
file, and type is what the cell is written as. Leave columns empty and the
keys of the first row are used, all as text.
The types are text, number, boolean, date and money, in any case. The
words people usually type work too: decimal, integer, int, float and
numeric mean number, string means text, bool means boolean and
currency means money. Any other type fails the node and names the column,
because a number written as text is a cell a consumer such as IBIS skips without
saying so. A column with no type is text.
A money column is a number with a currency format. Give it a currency, a
three-letter code such as EUR; without one the amount is written as a plain
number.
CSV punctuation
Section titled “CSV punctuation”dialect picks how the file is punctuated:
rfc4180— comma, CRLF line endings, no byte-order mark. The default, and the right choice for a machine consumer.excel-eu— semicolon with a byte-order mark, which is what a Dutch or German Excel opens correctly without an import dialog.tsv— tab-separated.
Any other value fails the node rather than quietly writing a comma file, which a Dutch Excel opens as one column per row.
Output
Section titled “Output”An object reference for the file that was written, plus what went into it:
{ "object": { "id": "01K2...", "storeId": "01K1...", "versionId": "01K3...", "key": "exports/2026-08/uittrekstaat.xlsx", "filename": "uittrekstaat.xlsx", "mediaType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "sizeBytes": 18422, "checksum": "9f86d0..." }, "rows": 240, "rejects": []}rejects is always present. Stop on a bad value (failOnBadValue) is on
by default, so a value that does not fit its declared column type, such as n/a
in a number column, fails the node and nothing is stored.
Turn it off and the file is written anyway: the value becomes an empty cell, the
row is kept, and the row is listed in rejects with its number so the gap is
visible.
Safe by default
Section titled “Safe by default”Text cells beginning with =, +, - or @ are escaped, because a cell like
that executes as a formula when the recipient opens the file. It is your file in
their Excel, so the escaping is on by default.
A column declared with "allowFormulas": true skips the escaping. In an Excel
file a value starting with = then becomes a formula with no stored result: a
spreadsheet program that recalculates on opening shows the answer, but a system
that reads stored values (IBIS does) sees an empty cell, and reading the file
back with Read a File as Data gives 0.
A document that fails XSD validation fails the node, and nothing is stored. A consumer refusing it later, in someone else’s system, is strictly worse.
A schema stored once
Section titled “A schema stored once”schema takes the XSD itself, or a stored .xsd named the way any file is:
Schemas/begroting.xsd, an object id or a version id.
Store the schema when it is a published standard that ships as a set of files,
such as UBL. A stored schema may include and import the other files of its set
by a path relative to itself (../common/types.xsd), as long as they are in the
same file store. Nothing outside that store is ever loaded: an include that is a
URL, an absolute path, or a path above the top of the store fails the node, and
so does a schema file that declares a DOCTYPE. A pasted schema has no location
to be relative to, so it must be self-contained.
Naming the schema by its version id pins that file, but not the files it includes. They are read as they are at the time of the run.
Worked example
Section titled “Worked example”Writing a query result to a spreadsheet:
- A Table Store Query node produces the rows.
- Format:
xlsx, File store: the store to file it in. - Path:
exports/{{ $start->period }}/planning.xlsx - Content:
{!! $prev !!}, the raw tags, so the rows stay JSON rather than being escaped into a string. - Columns, under More settings: the spec above.
To export a whole table rather than a query result, use Write a Table to a File, which takes the column types from the table itself and streams instead of materialising the rows.
Limitations
Section titled “Limitations”- The rows arrive as node output, so this node is bounded by the same size ceiling as anything else in a run log. For a whole table, use Write a Table to a File.
- PDF is a different node: Create a PDF.
- XML is a template plus a validator, not a converter.
- A set of schemas is limited to 64 files and 20 MB. Two files in different folders that include the same relative path for two different files are refused, so give such includes paths that say which.
Related
Section titled “Related”- Read a File as Data: the other direction.
- Write a Table to a File: a whole table, streamed and typed.
- Store a File: write text or copy a file without building one.
- Text Expression: render the XML document this node stores.
- Files: creating a store, retention, versions and sharing.