Skip to Content

Some data needs reshaping before a template can use it. The Transform node handles the structural changes Schema Mapping can’t: building a list out of separate columns, or adding a field that doesn’t exist in the source.

Rule types

Each rule writes one output field. There are three kinds.

Iterate / Group

Spreadsheets often store repeated items as numbered columns: item1_name, item1_qty, item2_name, item2_qty, and so on. A template’s data table wants a list instead — one entry per item.

An Iterate rule collapses those columns into a list. You choose:

  • the column prefix (item) and how many numbered slots to check;
  • which properties each entry gets, by suffix (_name → name, _qty → quantity);
  • the output array name the template expects, such as line_items.

Empty slots are skipped, so a row with three items gives a three-entry list even if the sheet has room for ten. You can also add a counter property that numbers the entries 1, 2, 3. See How data tables work for how the list fills a table.

Conditional (new field)

Adds a field whose value depends on a condition, for example row.balance == 0 → "Paid" if true, "Outstanding" if false. Refer to the row’s fields as row.<field>.

Custom expression

Computes a field from an expression over the row’s values, when neither of the above fits.

When a rule fails

If a rule can’t be applied to a row — a condition that doesn’t evaluate, an expression error — that field is left unset for that row and the error is recorded against it. The rest of the row, and the rest of the run, carry on.

Good to know

  • A pipeline has at most one Transform node; put all its rules in it.
  • Simple formatting (dates, numbers, case) lives on Schema Mapping, not here.
  • It isn’t available in pipelines started by a form submission.
  • Test runs and real runs apply the same rules, so a test run is a reliable check.

See also

Last updated on