拆分#
¥Split Out
使用 Split Out 节点将包含列表的单个数据项拆分为多个项目。例如,你有一个客户列表,并且想要将其拆分,以便每个客户都有一个条目。
¥Use the Split Out node to separate a single data item containing a list into multiple items. For example, a list of customers, and you want to split them so that you have an item for each customer.
节点参数#
¥Node parameters
使用以下参数配置此节点。
¥Configure this node using the following parameters.
要拆分的字段#
¥Field to Split Out
输入包含要拆分为单个项目的列表的字段。
¥Enter the field containing the list you want to separate out into individual items.
如果你处理的是二进制数据输入,请在表达式中使用 $binary 来设置要拆分的字段。
¥If you're working with binary data inputs, use $binary in an expression to set the field to split out.
包含#
¥Include
选择是否以及如何让 n8n 保留每个新条目的输入数据中的其他字段。
¥Select whether and how you want n8n to keep any other fields from the input data with each new individual item.
你可以选择:
¥You can select:
- 无其他字段:不会包含其他字段。
¥No Other Fields: No other fields will be included.
- 所有其他字段:所有其他字段都将被包含。
¥All Other Fields: All other fields will be included.
- 已选其他字段:仅包含选定的字段。
¥Selected Other Fields: Only the selected fields will be included.
-
要包含的字段:输入要包含的字段列表(以逗号分隔)。
¥Fields to Include: Enter a comma separated list of the fields you want to include.
节点选项#
¥Node options
禁用点号表示法#
¥Disable Dot Notation
默认情况下,n8n 启用点表示法,以 parent.child 格式引用子字段。使用此选项可禁用点号表示法(已启用)或继续使用点号表示法(已禁用)。
¥By default, n8n enables dot notation to reference child fields in the format parent.child. Use this option to disable dot notation (turned on) or to continue using dot (turned off).
目标字段名称#
¥Destination Field Name
输入拆分后的字段内容应放置在输出中的字段。
¥Enter the field in the output where the split field contents should go.
包含二进制#
¥Include Binary
选择是否将输入中的二进制数据包含在新的输出中(已开启)或不包含(已关闭)。
¥Choose whether to include binary data from the input in the new output (turned on) or not (turned off).
模板和示例#
¥Templates and examples
相关资源#
¥Related resources
Learn more about data structure and data flow in n8n workflows.