{ "name": "OpenHands SDK - Direct Execute Working", "nodes": [ { "parameters": {}, "id": "manual-trigger", "name": "Manual Trigger", "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [240, 300] }, { "parameters": { "command": "cd /home/bam && . /home/bam/openhands/.env && sh /home/bam/openhands-sdk-wrapper-sh.sh \"Create file: n8n-direct-test-$(date +%s).txt with content: SUCCESS from n8n direct execution!\"", "options": { "sessionId": "direct-test-session" } }, "id": "execute-sdk-direct", "name": "Execute OpenHands SDK (Direct)", "type": "n8n-nodes-base.executeCommand", "typeVersion": 1, "position": [460, 300] }, { "parameters": { "command": "ls -lt /home/bam/n8n-direct-test-*.txt 2>/dev/null | head -3 && echo \"=== VERIFICATION RESULT ===\" && if ls /home/bam/n8n-direct-test-*.txt >/dev/null 2>&1; then echo \"✅ FILE EXISTS - VERIFICATION PASSED\" && echo \"\" && cat /home/bam/n8n-direct-test-*.txt 2>/dev/null | head -2 && echo \"\" && echo \"✅ WORKFLOW SUCCESSFUL!\"; else echo \"\" && echo \"❌ FILE NOT FOUND - VERIFICATION FAILED\"; fi", "options": { "sessionId": "direct-test-session" } }, "id": "verify-file", "name": "Verify File Created", "type": "n8n-nodes-base.executeCommand", "typeVersion": 1, "position": [680, 300] } ], "connections": { "Manual Trigger": { "main": [ [ { "node": "Execute OpenHands SDK (Direct)", "type": "main", "index": 0 } ] ] }, "Execute OpenHands SDK (Direct)": { "main": [ [ { "node": "Verify File Created", "type": "main", "index": 0 } ] ] } }, "settings": { "executionOrder": "v1" }, "staticData": null, "triggerCount": 0, "active": false, "versionId": "1" }