Filter and organize records
Aggregate
Collapses all records into one record with a list and a count.
Nodes › LogicOpen in Neblex
- Good for
- One summary for the whole batch
- Role
- Works on the records in a flow
- Find it in
- Nodes › Logic
When to use it
- You need one email, message or file for the whole batch.
- An API expects all items in a single request.
Reach for something else when
Group & summarizeWhen you need figures per group.Group into batchesWhen groups of a fixed size are enough.
Example
Collect all failed payments of the day into one record and send a single summary email.
How it works
- Settings
- Collect field (blank collects whole records); Into array field [
items]. - Output
- Exactly one record:
{items: [...], count: N}. Useful before sending one summary email.
Add it to a flow
- Open the flow from Build › Workflows.
- Open Nodes and find Aggregate 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