Filter and organize records
Branch
Sends each record down the first rule it matches; records no rule matches leave through Otherwise.
Nodes › LogicOpen in Neblex
- Good for
- Routing records by condition
- Role
- Works on the records in a flow
- Find it in
- Nodes › Logic
When to use it
- Records need different handling depending on their values, such as order size or country.
- Several outcomes should each get their own path.
- No record may be lost: everything that matches nothing still goes somewhere.
Reach for something else when
FilterWhen you only need to keep or drop records.RulesWhen the decision sets fields or rejects records from a table of rules.
Example
Large orders go to a manager's approval, medium ones to the warehouse, small ones straight to shipping.
How it works
- Settings
- Rules, checked from the top, each a condition (see Conditions) with an optional name. Reorder rules to change which wins.
- Output
- One output per rule plus Otherwise; connect each one you need. No record is lost.
- Example
- Rule Large:
amountat least1000; rule Medium:amountat least100; Otherwise: small orders.
Add it to a flow
- Open the flow from Build › Workflows.
- Open Nodes and find Branch under Logic, or search for it. Click it or drag it onto the canvas.
- Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
- Run the flow and click the step to see the records it received and produced.
More in Filter and organize records
FilterKeeps only the records that match a condition and drops the rest.Nodes › LogicSortOrders records by a field, ascending or descending.Nodes › LogicKeep first NPasses on only the first records, up to the number you set.Nodes › LogicRemove duplicatesRemoves repeated records, or tags them for review, using exact, fuzzy or phonetic matching.Nodes › LogicSplitTurns one record that holds a list into one record per list item.Nodes › LogicGroup into batchesPacks records into groups of a fixed size, so one call can carry many records.Nodes › Logic