mvp-factory-setups/openhands-sdk-n8n-CLEAN.json

82 lines
2.1 KiB
JSON

{
"name": "OpenHands SDK Clean Working",
"nodes": [
{
"parameters": {},
"id": "start-trigger",
"name": "Manual Trigger",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [240, 300]
},
{
"parameters": {
"command": "sh /home/bam/openhands-sdk-wrapper-sh.sh \"Create file: n8n-clean-test-$(date +%s).txt with content: SUCCESS from clean n8n workflow!\"",
"sessionId": "clean-session",
"authentication": "privateKey"
},
"id": "execute-sdk-ssh",
"name": "Execute OpenHands SDK",
"type": "n8n-nodes-base.ssh",
"typeVersion": 1,
"position": [460, 300],
"credentials": {
"sshPrivateKey": {
"id": "v2BMXeCFGpXaoIyb",
"name": "SSH Private Key account"
}
}
},
{
"parameters": {
"command": "ls -lt /home/bam/n8n-clean-test-*.txt 2>/dev/null | head -3 && echo \"=== VERIFICATION ===\" && if ls /home/bam/n8n-clean-test-*.txt >/dev/null 2>&1; then echo \"✅ FILE EXISTS - WORKFLOW SUCCESS\"; cat /home/bam/n8n-clean-test-*.txt 2>/dev/null | head -1; else echo \"❌ FILE NOT FOUND\"; fi",
"sessionId": "clean-session",
"authentication": "privateKey"
},
"id": "verify-file",
"name": "Verify File Created",
"type": "n8n-nodes-base.ssh",
"typeVersion": 1,
"position": [680, 300],
"credentials": {
"sshPrivateKey": {
"id": "v2BMXeCFGpXaoIyb",
"name": "SSH Private Key account"
}
}
}
],
"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": {},
"staticData": null,
"tags": [],
"triggerCount": 0,
"updatedAt": "2025-12-01T12:00:00.000Z",
"versionId": "1",
"active": false
}