# Datasets (/docs/guides/datasets)



A **dataset** is reference data a decision looks up at runtime — a blocklist, a list of country
codes, a category taxonomy. It is uploaded once and read many times by the **Lookup** node.

## Uploads [#uploads]

Datasets are uploaded as **CSV, Excel (`.xlsx`) or JSON**. Each upload is an **immutable
version** — the same pattern as decision tables. Editing one always produces a new version, and
publishing pins the exact version the decision uses.

## The Lookup node [#the-lookup-node]

**Lookup** looks a value up in a dataset and branches on found / not found. The lookup value comes
from the input (a customer id, a country code, an account number), and the result is whatever the
row at that address says, or a configured fallback.

```text
in: customer.country
do: node          → branches: found / not found
```

A Lookup's input column is whatever field in the dataset acts as the key; the output columns are
whatever the decision reads from the matched row.

## Why immutable [#why-immutable]

A published decision must always read exactly what it was published with. Editing a dataset cannot
change a decision that is already serving traffic — picking the new value up means republishing.
That is what makes a published version a faithful record of what it decided.
