Write a Table to a File
Write a Table to a File exports a table to a CSV or Excel file in a workspace
file store, typed from the table’s own column definitions. You find it on the
node picker’s Storage shelf.
The node has one input handle and one output handle.
The column types are the point
Section titled “The column types are the point”A CSV of numbers is a CSV of strings once Excel has guessed at it: a leading zero gone, a decimal comma read as a thousands separator. The table already knows which of its columns are numeric, which are dates and which are text, so this node writes genuinely typed cells rather than a grid of strings.
That is the difference between this node and Create a File, where you declare the columns yourself.
Configuration
Section titled “Configuration”

| Field | Type | Default | Description |
|---|---|---|---|
Table (tableStoreId) | string ✦ (required) | — | The table to write out. Also supplies the column names, labels and types when exporting the previous node’s rows. |
File store (objectStoreId) | string ✦ (required) | — | The file store to write the export into. |
Key (key) | string ✦ (required) | — | Where to file it, e.g. exports/2026/08/planning.xlsx. |
Format (format) | one of csv, xlsx ✦ (optional) |
xlsx |
CSV or Excel. |
Source (source) | one of table, rows ✦ (optional) |
table |
Whether to write the whole table, or the rows the previous node produced. |
Columns (columns) | string ✦ (optional) | — | Which columns to include, in order, separated by commas. Leave empty for all of them. |
Filename (filename) | string ✦ (optional) | — | The name a person sees when they download it. Defaults to the last part of the path. |
CSV dialect (dialect) | one of rfc4180, excel-eu, tsv ✦ (optional) |
— | How a CSV is punctuated: rfc4180 (comma, no BOM), excel-eu (semicolon with a BOM) or tsv. |
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.
Whole table, or the previous node’s rows
Section titled “Whole table, or the previous node’s rows”source decides what is written.
tablewrites the whole table. Rows are streamed, so the size of the table is bounded by disk rather than by memory.rowswrites the rows the previous node produced, using the table only for its column names, labels and types. This is how you export a filtered set: put a Table Store Query node in front and selectrowshere, rather than looking for a second query surface on this node.
How long the file is kept
Section titled “How long the file is kept”A nightly export usually puts the date in its path, such as
exports/{{ now()->format('Y-m-d') }}.xlsx, so it does not overwrite
yesterday’s. Each of those files is deleted after 90 days unless
Delete after (days) (expiresInDays) says otherwise; set 0 to keep them
until someone deletes them. See Files.
CSV punctuation
Section titled “CSV punctuation”dialect picks how a CSV is punctuated, with the same presets as
Create a File: rfc4180 (comma,
the default), excel-eu (semicolon with a byte-order mark, which a Dutch or
German Excel opens without an import dialog) and tsv. Any other value fails the
node. It has no effect on an Excel file.
Output
Section titled “Output”An object reference for the file, plus what went into it:
{ "object": { "id": "01K2...", "storeId": "01K1...", "versionId": "01K3...", "key": "exports/2026/08/planning.xlsx", "filename": "planning.xlsx", "mediaType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "sizeBytes": 91204, "checksum": "9f86d0..." }, "tableStoreId": "01K1...", "rows": 18422, "rejects": []}The rows themselves are never emitted, which is what lets this node export a table no run log could hold.
Worked example
Section titled “Worked example”A scheduled export, mailed out:
- A Schedule node starts the run.
- This node: Table the table, Format
xlsx, Sourcetable, Keyexports/{{ now()->format('Y/m') }}/planning.xlsx. - An Email node attaching
{{ $prev->object->versionId }}.
Passing the version id rather than the object id pins the attachment to the bytes this run produced.
Limitations
Section titled “Limitations”formatiscsvorxlsx, and anything else fails the node rather than writing a workbook. XML is not offered: a table has no element names, so writing one is Create a File with an XML template.columnsnames columns that exist on the table; naming one that does not is an error rather than a skipped column.
Related
Section titled “Related”- Load a File into a Table: the other direction.
- Create a File: build a file from rows you declare the columns for.
- Table Store Query: produce the rows for a filtered export.
- Tables: defining the table and its column types.
- Files: creating a store, retention, versions and sharing.