summarize.json•2.3 kB
{
"nodeType": "n8n-nodes-base.summarize",
"displayName": "Summarize",
"description": "Sum, count, max, etc. across items",
"version": 1,
"properties": [
{
"name": "fieldsToSummarize",
"displayName": "Fields to Summarize",
"type": "fixedCollection",
"default": {},
"description": "How to combine the values of the field you want to summarize",
"placeholder": "Add Field",
"typeOptions": {
"multipleValues": true
},
"displayOptions": {
"hide": {
"aggregation": [
"countUnique",
"count",
"max",
"min"
]
}
}
},
{
"name": "fieldsToSplitBy",
"displayName": "Fields to Split By",
"type": "string",
"default": "",
"description": "The name of the input fields that you want to split the summary by",
"placeholder": "e.g. country, city",
"displayOptions": {
"hide": {
"/options.outputFormat": [
"singleItem"
]
}
}
},
{
"name": "options",
"displayName": "Options",
"type": "collection",
"default": {},
"description": "Whether to continue if field to summarize can't be found in any items and return single empty item, owerwise an error would be thrown",
"placeholder": "Add option",
"options": [
{
"name": "continueIfFieldNotFound",
"displayName": "Continue if Field Not Found",
"type": "boolean",
"default": false,
"description": "Whether to continue if field to summarize can't be found in any items and return single empty item, owerwise an error would be thrown"
},
{
"name": "disableDotNotation",
"displayName": "Disable Dot Notation",
"type": "boolean",
"default": false,
"description": "Whether to disallow referencing child fields using `parent.child` in the field name"
}
]
}
],
"credentialsConfig": [],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}