Skip to content

限制#

¥Limit

使用“限制”节点移除超出指定最大数量的项目。你可以选择 n8n 从输入数据的开头还是结尾获取项目。

¥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

请输入 n8n 应保留的最大项目数。如果输入数据包含超过此值的数据,n8n 将移除这些项目。

¥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

Template widget placeholder.

相关资源#

¥Related resources

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