Workflow: Function Workflow
Integrations: function, manualTrigger, stopAndError

{"nodes": [{"id": "trigger-a3a1cb65", "name": "Manual Trigger", "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [100, 100], "parameters": {}}, {"name": "Mock Data", "type": "n8n-nodes-base.function", "position": [550, 300], "parameters": {"functionCode": "return [{json:[\"item-1\", \"item-2\", \"item-3\", \"item-4\"]}];"}, "typeVersion": 1, "id": "acde4709-5dca-4894-80aa-c041f4a858e5", "notes": "This function node performs automated tasks as part of the workflow."}, {"name": "Function", "type": "n8n-nodes-base.function", "position": [750, 300], "parameters": {"functionCode": "return items[0].json.map(item => {\n  return {\n    json: {\n      data:item\n    },\n  }\n});\n"}, "typeVersion": 1, "id": "7cd01085-4de7-479d-99c1-974df410f456", "notes": "This function node performs automated tasks as part of the workflow."}, {"id": "error-bf6f52d3", "name": "Error Handler", "type": "n8n-nodes-base.stopAndError", "typeVersion": 1, "position": [1000, 400], "parameters": {"message": "Workflow execution error", "options": {}}}], "connections": {}, "name": "Function Workflow", "description": "Automated workflow: Function 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-5e657788", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:42.145679", "updatedAt": "2025-09-29T07:07:42.145693", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "tags": ["automation", "n8n", "production-ready", "excellent", "optimized"], "notes": "Excellent quality workflow: Function Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}