summarize.json•1.78 kB
{
"nodeType": "n8n-nodes-base.summarize",
"displayName": "Summarize",
"description": "Sum, count, max, etc. across items",
"version": [
1,
1.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, otherwise an error would be thrown",
"placeholder": "Add option",
"displayOptions": "{\n\t\t\t\t\t\t\thide: {\n\t\t\t\t\t\t\t\t'@version': [{ _cnd: { gte: 1.1 }"
}
],
"credentialsConfig": [],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}