Skip to content

Limit#

Use the Limit node to remove items beyond a defined maximum number. You can choose whether n8n takes the items from the beginning or end of the input data.

Node parameters#

Configure this node using the following parameters.

Max Items#

Enter the maximum number of items that n8n should keep. If the input data contains more than this value, n8n removes the items.

Keep#

If the node has to remove items, select where it keeps the input items from:

  • 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.

Templates and examples#

Scrape and summarize webpages with AI

by n8n Team

View template details
Chat with OpenAI Assistant (by adding a memory)

by David Roberts

View template details
Automate Competitor Research with Exa.ai, Notion and AI Agents

by Jimleuk

View template details
Browse Limit integration templates, or search all templates

Learn more about data structure and data flow in n8n workflows.