decision control
Nodes

Lookup

Looks a value up in a dataset and branches on Found or Not found.

The Lookup node checks whether a value exists in a dataset, reference data such as a blocklist or a list of country codes, and hands back the matching row when it does.

When to use it

  • Screen against a blocklist or allowlist.
  • Enrich the decision with data about a code: a country risk tier, a merchant category.

How it works

  1. The dataset is resolved at the version pinned when the flow was published.
  2. The key expression is evaluated. It must produce a text or a number; a missing value is simply "not found".
  3. The row whose key column equals it is searched, optionally ignoring case and surrounding spaces.
  4. Found takes Found and stores the row; otherwise Not found is taken and the variable is null.

Ports

PortTaken when
FoundA row matched the key.
Not foundNo row matched. If this port is not connected, the run carries on through Found with the variable left null.

Configuration

FieldWhat it does
NameLabel shown on the canvas and in the trace.
DatasetThe reference data to search. Its version is pinned at publish.
KeyThe value to look for in the dataset's key column.
Ignore caseMatch ignoring case and surrounding spaces.
Store result inThe variable that receives the row, or null.

What it writes

The variable holds the whole matched row (vars.match.risk_tier) or null. The trace states what was looked up, where, and the dataset version.

In a real flow

The country is looked up in a blocklist. A hit goes to manual review, a miss goes straight to the output.

When it fails

  • The dataset is not found: DATASET_NOT_FOUND.
  • The key is an object or a list: VALIDATION_FAILED. Only text or numbers can be looked up.
  • No dataset or no key is an error in Checks.

Good to know

  • Datasets are immutable versions. To pick up new data, upload a new version and republish.

On this page