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.
Examples and templates
For usage examples and templates to help you get started, refer to n8n's Limit integrations page.
- 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: when items must be removed, select if n8n keeps the input items at the beginning or end.
View example workflows and related content on n8n's website.
Learn more about data structure and data flow in n8n workflows.