{"nodes":[{"name":"On clicking 'execute'","type":"n8n-nodes-base.manualTrigger","position":[250,300],"parameters":{},"typeVersion":1,"id":"f9654981-b6c5-42ef-82ea-e00d40c66b10","notes":"This manualTrigger node performs automated tasks as part of the workflow."},{"name":"Read Binary File","type":"n8n-nodes-base.readBinaryFile","position":[440,300],"parameters":{"filePath":"/home/n8n/filelist.txt"},"typeVersion":1,"id":"20b573de-0ef4-46d9-aad2-ec4cf32d5b7b","notes":"This readBinaryFile node performs automated tasks as part of the workflow."},{"name":"Move Binary Data","type":"n8n-nodes-base.moveBinaryData","position":[610,300],"parameters":{"options":{},"setAllData":false},"typeVersion":1,"id":"15b82f20-40dd-4724-98b4-cfa7dd587259","notes":"This moveBinaryData node performs automated tasks as part of the workflow."},{"name":"Function","type":"n8n-nodes-base.function","position":[810,300],"parameters":{"functionCode":"items[0].json.arrData = items[0].json.data.split(\"\\n\");\nitems[0].json.data = {};\nitems[0].json.dataSize = items[0].json.arrData.length-2;\nreturn items;"},"typeVersion":1,"id":"88082ca8-7bb1-44be-befc-3cac5e519a3d","notes":"This function node performs automated tasks as part of the workflow."},{"name":"Execute Command","type":"n8n-nodes-base.executeCommand","position":[1040,300],"parameters":{"command":"=echo \"The file name is {{$node[\"Function\"].json[\"arrData\"][$runIndex]}}\" >> /home/n8n/n8n-output.txt"},"typeVersion":1,"id":"3296ca49-b17f-4d7e-9fc6-3486a88bb7bc","notes":"This executeCommand node performs automated tasks as part of the workflow."},{"name":"If Node","type":"n8n-nodes-base.if","position":[1250,520],"parameters":{"conditions":{"number":[{"value1":"={{$node[\"Function\"].json[\"dataSize\"]}}","value2":"={{$runIndex}}","operation":"larger"}],"string":[]}},"typeVersion":1,"id":"a2e72372-8c56-48fc-ba2f-792ac76936de","notes":"This if node performs automated tasks as part of the workflow."},{"name":"NoOp","type":"n8n-nodes-base.noOp","position":[1450,540],"parameters":{},"typeVersion":1,"id":"56a761c9-9ea2-4fd7-87aa-68b683cbc481","notes":"This noOp node performs automated tasks as part of the workflow."},{"id":"error-aca0606a","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-f9249e5a","versionId":"1.0.0","createdAt":"2025-09-29T07:07:44.500694","updatedAt":"2025-09-29T07:07:44.500710","owner":"n8n-user","license":"MIT","category":"automation","status":"active","priority":"high","environment":"production"},"notes":"Excellent quality workflow: Manualtrigger Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}