n8n Limit nodeConfigure Limit in n8n.
The n8n Limit node cuts an incoming batch down to a fixed number of items. It sits mid workflow, right after a step that returned more rows than the rest of the run needs. Two parameters drive it: Max Items sets the ceiling, Keep decides which end survives.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Limit node actually do?
The Limit node has one job: restrict the number of items moving through a workflow. Feed it forty rows with Max Items set to 5, and five come out the other side. It ships with n8n, so there is nothing to install and nothing extra to pay, on n8n Cloud as on a self-hosted instance. Version 1 is the current shape of the node: two parameters, no credential.
Three situations bring builders to this node. The first is testing. A workflow that reads a full sheet and then drafts messages is painful to debug on hundreds of rows, so Limit sits right after the Google Sheets step and caps the run at three items until the logic behaves.
The second is the polite cap. A digest that reports the newest entries should not dump everything it found. Limit with Keep set to Last Items hands the tail of the list to the next step, and a Gmail node sends one short summary instead of forty separate messages.
The third is protecting a rate sensitive call. When every item fires an outbound request through HTTP Request, a ceiling keeps a bad upstream day from turning into 2000 calls. Adding the node costs nothing and the decision is reversible: change one number, run again.
Know what it does not do. Limit counts, it does not choose. No condition, no field comparison, no ordering of its own: whatever order the items arrive in is the order it cuts. When the selection depends on a value rather than a position, that decision belongs to a node like If, and Limit only trims what is left. Same reasoning after a Merge: combine the branches first, cap second, or each branch gets its own ceiling and the total surprises you.
One last thing to have in mind. Limit never opens a workflow. A trigger runs first, a Schedule Trigger, a Webhook or the trigger of a tool, and only then do items reach the node. Version 1 exposes the two parameters below and nothing else, so an older workflow showing fewer options is simply running an older version of the node, which never changes on its own.
Which parameters does the Limit node expose?
The Limit node has 2 parameters. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Max Items
maxItemsWhat you see in n8n
Notes & use cases
Max Items sets the ceiling. Enter the maximum number of items that n8n should keep; if the input data holds more than that value, n8n removes the extras and the rest travels on.
Key parameters
- Max Items: a number field, and the only value the node really needs. It accepts an expression of the form
{{ $json.maxItems }}when the ceiling itself comes from an earlier step rather than being typed in.
Keep
keepWhat you see in n8n
Notes & use cases
Keep answers the second question: when the node has to remove items, which end of the input data stays.
Key parameters
- First Items: keeps the Max Items number of items from the beginning of the input data.
- Last Items: keeps the Max Items number of items from the end of the input data.
Need help automating Limit with n8n?
A person reads every message.
Questions people ask about the Limit node
01Is the n8n Limit node included, or does it cost extra?
02What do you need to set up before using it?
03What are the limits of the node?
04When do you pick Limit over another node?
05n8n or Make for this kind of workflow?
Get our weekly integration tips.
No spam. Unsubscribe anytime.

