splitOut.json•2.79 kB
{
"nodeType": "n8n-nodes-base.splitOut",
"displayName": "Split Out",
"description": "Turn a list inside item(s) into separate items",
"version": 1,
"properties": [
{
"name": "fieldToSplitOut",
"displayName": "Fields To Split Out",
"type": "string",
"default": "",
"description": "The name of the input fields to break out into separate items. Separate multiple field names by commas. For binary data, use $binary.",
"placeholder": "Drag fields from the left or type their names",
"required": true
},
{
"name": "include",
"displayName": "Include",
"type": "options",
"default": "noOtherFields",
"description": "Whether to copy any other fields into the new items",
"options": [
{
"name": "No Other Fields",
"value": "noOtherFields"
},
{
"name": "All Other Fields",
"value": "allOtherFields"
},
{
"name": "Selected Other Fields",
"value": "selectedOtherFields"
}
]
},
{
"name": "fieldsToInclude",
"displayName": "Fields To Include",
"type": "string",
"default": "",
"description": "Fields in the input items to aggregate together",
"placeholder": "e.g. email, name",
"displayOptions": {
"show": {
"include": [
"selectedOtherFields"
]
}
}
},
{
"name": "options",
"displayName": "Options",
"type": "collection",
"default": {},
"description": "Whether to disallow referencing child fields using `parent.child` in the field name",
"placeholder": "Add Field",
"options": [
{
"name": "disableDotNotation",
"displayName": "Disable Dot Notation",
"type": "boolean",
"default": false,
"description": "Whether to disallow referencing child fields using `parent.child` in the field name"
},
{
"name": "destinationFieldName",
"displayName": "Destination Field Name",
"type": "string",
"default": "",
"description": "The field in the output under which to put the split field contents"
},
{
"name": "includeBinary",
"displayName": "Include Binary",
"type": "boolean",
"default": false,
"description": "Whether to include the binary data in the new items"
}
]
}
],
"credentialsConfig": [],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}