{ "nodes": [ { "name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [ 430, 310 ], "parameters": {}, "typeVersion": 1, "id": "4b3ac151-9df7-4178-92cb-06c4a2c4d583", "notes": "This manualTrigger node performs automated tasks as part of the workflow." }, { "name": "Function", "type": "n8n-nodes-base.function", "position": [ 630, 310 ], "parameters": { "functionCode": "const newItems = [];\n\nfor (let i=0;i<10;i++) {\n newItems.push({json:{i}});\n}\n\nreturn newItems;" }, "typeVersion": 1, "id": "911c50a5-4ffc-4ee4-8f92-b2b8fe28045a", "notes": "This function node performs automated tasks as part of the workflow." }, { "name": "SplitInBatches", "type": "n8n-nodes-base.splitInBatches", "position": [ 830, 310 ], "parameters": { "options": {}, "batchSize": 1 }, "typeVersion": 1, "id": "9f9ba639-cd72-48cd-b2c8-ae228a590489", "notes": "This splitInBatches node performs automated tasks as part of the workflow." }, { "name": "If Node", "type": "n8n-nodes-base.if", "position": [ 1030, 460 ], "parameters": { "conditions": { "number": [ { "value1": "={{$node[\"SplitInBatches\"].context[\"currentRunIndex\"];}}", "value2": 5, "operation": "equal" } ], "boolean": [] } }, "typeVersion": 1, "id": "ac58615e-367e-444c-8833-220e9440719e", "notes": "This if node performs automated tasks as part of the workflow." }, { "name": "Set", "type": "n8n-nodes-base.set", "position": [ 1230, 360 ], "parameters": { "values": { "string": [ { "name": "Message", "value": "Loop Ended" } ] }, "options": {}, "keepOnlySet": true }, "typeVersion": 1, "id": "d5a82d37-da9a-49a1-bf3a-465fe217a588", "notes": "This set node performs automated tasks as part of the workflow." }, { "id": "error-2b0584f1", "name": "Error Handler", "type": "n8n-nodes-base.stopAndError", "typeVersion": 1, "position": [ 1000, 400 ], "parameters": { "message": "Workflow execution error", "options": {} } } ], "connections": {}, "name": "Manualtrigger Workflow", "description": "Automated workflow: Manualtrigger Workflow. This workflow processes data and performs automated tasks.", "settings": { "executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000 }, "meta": { "instanceId": "workflow-fbf01310", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:49.786668", "updatedAt": "2025-09-29T07:07:49.786718", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production" }, "tags": [ "automation", "n8n", "production-ready", "excellent", "optimized" ], "notes": "Excellent quality workflow: Manualtrigger Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation." }