Describe the problem/error/question
Outer loop functions as designed. Inside loop uses loop output once, but done on subsequent calls. see screenshot showing 1 item total from second loop output.
What is the error message (if any)?
No error
Please share your workflow
{
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “c7ba4a07625795b0b01d05e69b750245856cd59f6dd18693bd6b3cf2787ed17d”
},
“nodes”: [
{
“parameters”: {},
“id”: “c2277955-f03f-4a1e-a1b3-4d6e5cdf9466”,
“name”: “When clicking "Test workflow"”,
“type”: “n8n-nodes-base.manualTrigger”,
“typeVersion”: 1,
“position”: [
0,
300
]
},
{
“parameters”: {
“options”: {}
},
“id”: “e668f45a-faed-4567-90ee-a802644fd779”,
“name”: “Loop Over Items”,
“type”: “n8n-nodes-base.splitInBatches”,
“typeVersion”: 3,
“position”: [
260,
300
]
},
{
“parameters”: {},
“id”: “d6a62e88-2904-4d02-9ddb-8bd54ffc1217”,
“name”: “No Operation, do nothing”,
“type”: “n8n-nodes-base.noOp”,
“typeVersion”: 1,
“position”: [
380,
80
]
},
{
“parameters”: {},
“id”: “2b2cbb69-42e2-4f5b-b74a-df3347ea3aae”,
“name”: “No Operation, do nothing1”,
“type”: “n8n-nodes-base.noOp”,
“typeVersion”: 1,
“position”: [
1360,
60
]
},
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “1911b8e9-b3c3-4d7e-9da9-6f2c628ed8d1”,
“name”: “user_id”,
“value”: “={{ $json.user_id }}”,
“type”: “string”
},
{
“id”: “b4e76ca5-60bc-4a6a-95d4-b10ae6a2ceef”,
“name”: “created_at”,
“value”: “={{ $json.created_at }}”,
“type”: “string”
}
]
},
“options”: {}
},
“id”: “c8915197-c8a8-4637-8fa3-01c09eb18bc5”,
“name”: “Edit Fields”,
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.3,
“position”: [
560,
320
]
},
{
“parameters”: {
“options”: {}
},
“id”: “93a7fc79-1fb1-486d-9fd3-bcffbe84a0b4”,
“name”: “Loop Over Items1”,
“type”: “n8n-nodes-base.splitInBatches”,
“typeVersion”: 3,
“position”: [
840,
320
]
}
],
“connections”: {
“When clicking "Test workflow"”: {
“main”: [
[
{
“node”: “Loop Over Items”,
“type”: “main”,
“index”: 0
}
]
]
},
“Loop Over Items”: {
“main”: [
[
{
“node”: “No Operation, do nothing”,
“type”: “main”,
“index”: 0
}
],
[
{
“node”: “Edit Fields”,
“type”: “main”,
“index”: 0
}
]
]
},
“No Operation, do nothing1”: {
“main”: [
[
{
“node”: “Loop Over Items1”,
“type”: “main”,
“index”: 0
}
]
]
},
“Edit Fields”: {
“main”: [
[
{
“node”: “Loop Over Items1”,
“type”: “main”,
“index”: 0
}
]
]
},
“Loop Over Items1”: {
“main”: [
[
{
“node”: “Loop Over Items”,
“type”: “main”,
“index”: 0
}
],
[
{
“node”: “No Operation, do nothing1”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {
“When clicking "Test workflow"”: [
{
“user_id”: “Ogt_zTW5AyJoZ1PhJDZ7F”,
“created_at”: 1751914650988,
“updated_at”: 1751952721919
},
{
“user_id”: “99rg6CFAt8iW__qI9-jSz”,
“created_at”: 1751915188756,
“updated_at”: 1751944991842
},
{
“user_id”: “gYNnTS6gm4tckYwytYt7T”,
“created_at”: 1751952297446,
“updated_at”: 1751952754546
}
]
}
}
Share the output returned by the last node
[
{
“user_id”:
“Ogt_zTW5AyJoZ1PhJDZ7F”,
“created_at”:
“1751914650988”
},
{
“user_id”:
“Ogt_zTW5AyJoZ1PhJDZ7F”,
“created_at”:
“1751914650988”
},
{
“user_id”:
“99rg6CFAt8iW__qI9-jSz”,
“created_at”:
“1751915188756”
},
{
“user_id”:
“Ogt_zTW5AyJoZ1PhJDZ7F”,
“created_at”:
“1751914650988”
},
{
“user_id”:
“99rg6CFAt8iW__qI9-jSz”,
“created_at”:
“1751915188756”
},
{
“user_id”:
“gYNnTS6gm4tckYwytYt7T”,
“created_at”:
“1751952297446”
}
]
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: