{ "nodes": [ { "name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [ 430, 310 ], "parameters": {}, "typeVersion": 1, "id": "f1cc798f-16a8-4e06-91f3-bb2e830be70a", "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": "610ae555-4241-491f-8ffb-2eff3ff233c0", "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": "5b10138d-37e1-4d7c-b93a-168352bd48be", "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": { "boolean": [ { "value1": true, "value2": "={{$node[\"SplitInBatches\"].context[\"noItemsLeft\"]}}" } ] } }, "typeVersion": 1, "id": "069c2f28-24c2-42ae-9878-1958350ecc65", "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": "No Items Left" } ] }, "options": {}, "keepOnlySet": true }, "typeVersion": 1, "id": "8177bd3c-3ad9-407b-b456-b8763fdc9092", "notes": "This set node performs automated tasks as part of the workflow." }, { "id": "error-24fa1f6f", "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-43ff9468", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:49.776380", "updatedAt": "2025-09-29T07:07:49.776391", "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." }