{ "name": "OpenHands SDK - Final Working (No Credentials)", "meta": { "instanceId": "openhands-sdk-final-simple" }, "nodes": [ { "parameters": {}, "id": "manual-trigger", "name": "Manual Trigger", "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [240, 300] }, { "parameters": { "command": "cd /tmp/software-agent-sdk && . .venv/bin/activate && source /home/bam/openhands/.env && python /home/bam/openhands-sdk-wrapper-fixed.py \"Create file: n8n-final-test-\\$(date +%s).txt with content: SUCCESS from n8n!\" && ls -lt /home/bam/*.txt 2>/dev/null | head -5", "options": { "sessionId": "final-test-session" } }, "id": "execute-sdk", "name": "Execute OpenHands SDK", "type": "n8n-nodes-base.executeCommand", "typeVersion": 1, "position": [460, 300] }, { "parameters": { "command": "echo \"=== VERIFICATION RESULT ===\" && ls -lt /home/bam/n8n-final-test-*.txt 2>/dev/null | head -3 && if ls /home/bam/n8n-final-test-*.txt >/dev/null 2>&1; then echo \"\" && echo \"✅ FILE EXISTS - VERIFICATION PASSED\" && echo \"\"; cat /home/bam/n8n-final-test-*.txt 2>/dev/null | head -2 && echo \"\" && echo \"✅ WORKFLOW SUCCESSFUL!\"; else echo \"\" && echo \"❌ FILE NOT FOUND - VERIFICATION FAILED\"; fi", "options": { "sessionId": "final-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", "type": "main", "index": 0 } ] ] }, "Execute OpenHands SDK": { "main": [ [ { "node": "Verify File Created", "type": "main", "index": 0 } ] ] } }, "pinData": {}, "settings": { "executionOrder": "v1" }, "staticData": null, "triggerCount": 0, "updatedAt": "2025-12-01T11:52:00.000Z", "versionId": "1", "active": false, "meta": { "templateCredsSetupCompleted": false } }