From 2fb4a54f75e9bedef22c12f7fd2b2c32a6f733d5 Mon Sep 17 00:00:00 2001 From: Claude Code Date: Tue, 17 Mar 2026 11:06:50 +0100 Subject: [PATCH] fix: add Item Lists node to properly split data array from SQL response - Replace splitInBatches with itemLists node for better data handling - Configure splitField to 'data' to extract individual items from API response - Adjust node positions and connections accordingly - Fixes issue where only first item was being processed --- n8n-workflows/workflow-a-http.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/n8n-workflows/workflow-a-http.json b/n8n-workflows/workflow-a-http.json index 784e916..4d52229 100644 --- a/n8n-workflows/workflow-a-http.json +++ b/n8n-workflows/workflow-a-http.json @@ -32,12 +32,12 @@ { "id": "uuid-split-results", "name": "Split Results", - "type": "n8n-nodes-base.splitInBatches", - "typeVersion": 3, + "type": "n8n-nodes-base.itemLists", + "typeVersion": 4, "position": [650, 200], "parameters": { - "batchSize": 1, - "options": {} + "mode": "splitOut", + "splitField": "data" } }, { @@ -84,7 +84,7 @@ "name": "LiteLLM AI Analysis", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4, - "position": [1050, 200], + "position": [850, 200], "parameters": { "url": "http://llm.eks-ai.apps.asgard.eks-lnx.fft-it.de/v1/chat/completions", "method": "POST", @@ -101,7 +101,7 @@ "name": "Parse AI Response", "type": "n8n-nodes-base.set", "typeVersion": 3, - "position": [1250, 200], + "position": [1050, 200], "parameters": { "options": {}, "assignments": { @@ -125,7 +125,7 @@ "name": "Check Confidence >= 0.6", "type": "n8n-nodes-base.if", "typeVersion": 2, - "position": [1450, 200], + "position": [1250, 200], "parameters": { "conditions": { "options": { @@ -152,7 +152,7 @@ "name": "Save Suggestion to Freescout DB", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4, - "position": [1650, 100], + "position": [1450, 100], "parameters": { "url": "http://host.docker.internal:4000/query/freescout", "method": "POST", @@ -169,7 +169,7 @@ "name": "Skip - Low Confidence", "type": "n8n-nodes-base.set", "typeVersion": 3, - "position": [1650, 350], + "position": [1450, 350], "parameters": { "options": {}, "assignments": {