Skip to content
Docs

File Details

File Details answers the questions you ask before deciding to read a file: does it exist, how big is it, what type is it, are its contents still there. It does not download the file and does not extract text from it. You find it on the node picker’s Storage shelf.

The node has one input handle and one output handle.

Every node in this family addresses a file by reference, and this node accepts all four forms:

Form Example Resolves to
A version id 01K3... Exactly those bytes, forever.
An object id 01K2... Whatever is current now.
Store name/path Invoices/2026/08/inv-1042.pdf The current version at that path.
An attachment id 01K4... An inbound email attachment.

Prefer a version id when a flow passes a file from one step to another. An object id means “whatever is current when you read it”, and a durable run may read it long after the step that produced it.

In the node’s settings you pick the file rather than type its reference. Type part of its path, and the field lists the matching files of every file store in your workspace as Store › path, the newest first, 50 at most. A picked file is saved as its object id. A reference typed in before the field became a picker stays as it was. To pass a file another node produced, or one that arrived by mail, click Insert a value ({x}) and write an expression.

A reference belonging to another workspace is refused, and that is a different answer from a reference that names nothing.

The File Details node's settings form, with the fields described below
The File Details node's settings form, with the fields described below
FieldTypeDefaultDescription
File (reference)string ✦ (required) — The file to look up: an object id, a version id, “Store name/path/to/file.pdf”, or an inbound email attachment id.

Fields marked ✦ accept expressions.

Try this node — run it once against your own workspace, with your credentials, without building a flow first.

{
"object": {
"id": "01K2...",
"filename": "inv-1042.pdf",
"mediaType": "application/pdf",
"sizeBytes": 48213,
"checksum": "9f86d0...",
"source": "object_store",
"hasContent": true
}
}

hasContent is the one worth branching on. A file’s record outlives its bytes: a store’s retention policy expires the contents while the row stays readable, so hasContent is false for a file that still exists but can no longer be read. Checking it here costs nothing, and finding out two nodes later costs a failed run.

source says where the file came from, a workspace store or an inbound email attachment.

Branch on size before doing expensive work with a file:

  1. File: {{ $prev->object->id }}
  2. Wire the output into a Switch node.
  3. Route on {{ $prev->object->sizeBytes }}, sending anything over your ceiling to a path that reports it instead of parsing it.
  • Metadata only. To read a file’s contents, use Read a File as Data for a CSV, spreadsheet or XML file, or Read a File as Text to extract its text.
  • A reference that names nothing fails the node.