Skip to content

Build a pipeline

A pipeline is a graph: extract nodes read data, transformation nodes reshape it, and target nodes write it. Open Pipelines in the app, create one, and the canvas opens.

  • Pick a node from the palette on the left (Sources, Transform, Combine, Quality, Targets). It appears in the middle of the view.
  • Drag from a node’s output handle (right) to another node’s input handle (left). Joins have left and right inputs, lookups have in and lookup, validate has valid and invalid outputs, and route has one output per route. Any output can feed any number of nodes.
  • An input takes one edge (union takes many). Connecting a second edge to it replaces the first. Flux refuses edges that would make a cycle.
  • Select a node or edge and press Delete to remove it.

Click a node to open its settings. Common nodes have a form; every node can also be edited as JSON. Formulas use the formula language, for example ROUND(amount * COALESCE(eur_rate, 1), 2).

The settings panel lists the input columns reaching the node, so you can see what a formula can refer to. Node cards show how many columns each node outputs.

  • Flux validates the pipeline as you edit. Problems appear on the node (a red count) and in its settings, naming the field, for example condition: unknown column 'amount'.
  • Preview output runs the pipeline up to the selected node on a sample of each source (1,000 rows by default) and shows the first rows with their types. If a source hit the sample limit, the preview says so: joins and totals on a sample are approximate.
  • Previews read real data through your connections, so they need the editor role.
  • Save stores a new version; nothing runs it yet.
  • Save & activate stores it and makes it the version that schedules and triggers run. Activation is refused while the pipeline has problems.
  • Versions lists every version. Open one to continue from it, or activate an older version to roll back. See Versioning.

Add notifications to the pipeline (JSON view) to hear about runs:

"notifications": [
{"on": ["failed", "cancelled"], "channel": "email", "to": ["ops@nasterra.com"]},
{"on": ["warning"], "channel": "email", "to": ["data@nasterra.com"]},
{"on": ["succeeded", "failed"], "channel": "webhook", "url": "https://hooks.example.com/flux"}
]
  • warning means the run succeeded but reported warnings; succeeded matches every success, with or without warnings.
  • Emails show the outcome, rows written, the error or warnings, and a link to the run.
  • Webhooks get a JSON POST with the run, signed with an X-Flux-Signature header (sha256= HMAC of the body with the shared webhook secret). Check it before trusting the request. Failed deliveries are retried for a few hours.
  • Delivery history is in GET /api/notifications?run_id=….