Shapes

Filter and organize records

Keep first N

Passes on only the first records, up to the number you set.

Nodes › LogicOpen in Neblex
Good for
Top lists and samples
Role
Works on the records in a flow
Find it in
Nodes › Logic

When to use it

  • You need the top entries after sorting.
  • You want a small sample of a large source while building and testing.

Reach for something else when

Example

After sorting open deals by value, keep the first five for the daily briefing.

  1. Sort
  2. Keep first N
  3. Slack

How it works

Settings
Maximum items to keep [10].
Tip
Sort first to get a "top 10".
More in the guide

Add it to a flow

  1. Open the flow from Build › Workflows.
  2. Open Nodes and find Keep first N under Logic, or search for it. Click it or drag it onto the canvas.
  3. Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
  4. Run the flow and click the step to see the records it received and produced.