{
  "openruna_format": "flow-graph-v1",
  "title": "puq-docker-n8n-deploy",
  "slug": "puq-docker-n8n-deploy",
  "source_filename": "1825_Code_Webhook_Automation_Webhook.json",
  "nodes": [
    {
      "id": "If",
      "name": "If",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Parametrs",
      "name": "Parametrs",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "API",
      "name": "API",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "422-Invalid server domain",
      "name": "422-Invalid server domain",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Code1",
      "name": "Code1",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "SSH",
      "name": "SSH",
      "integration": "ssh",
      "kind": "action"
    },
    {
      "id": "Container Actions",
      "name": "Container Actions",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Service Actions",
      "name": "Service Actions",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Container Stats",
      "name": "Container Stats",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "API answer",
      "name": "API answer",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Inspect",
      "name": "Inspect",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Stat",
      "name": "Stat",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Start",
      "name": "Start",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Stop",
      "name": "Stop",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Test Connection1",
      "name": "Test Connection1",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Deploy",
      "name": "Deploy",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Suspend",
      "name": "Suspend",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Terminated",
      "name": "Terminated",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Unsuspend",
      "name": "Unsuspend",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Mount Disk",
      "name": "Mount Disk",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Unmount Disk",
      "name": "Unmount Disk",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Log",
      "name": "Log",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "ChangePackage",
      "name": "ChangePackage",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "n8n",
      "name": "n8n",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Version",
      "name": "Version",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Users",
      "name": "Users",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Change Password",
      "name": "Change Password",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "If1",
      "name": "If1",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "nginx",
      "name": "nginx",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Deploy-docker-compose",
      "name": "Deploy-docker-compose",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "GET ACL",
      "name": "GET ACL",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "SET ACL",
      "name": "SET ACL",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "GET NET",
      "name": "GET NET",
      "integration": "set",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "If",
      "to": "Container Stats"
    },
    {
      "from": "If",
      "to": "Container Actions"
    },
    {
      "from": "If",
      "to": "n8n"
    },
    {
      "from": "If",
      "to": "If1"
    },
    {
      "from": "If",
      "to": "422-Invalid server domain"
    },
    {
      "from": "API",
      "to": "Parametrs"
    },
    {
      "from": "If1",
      "to": "nginx"
    },
    {
      "from": "If1",
      "to": "Service Actions"
    },
    {
      "from": "Log",
      "to": "SSH"
    },
    {
      "from": "SSH",
      "to": "Code1"
    },
    {
      "from": "SSH",
      "to": "Code1"
    },
    {
      "from": "n8n",
      "to": "Version"
    },
    {
      "from": "n8n",
      "to": "Users"
    },
    {
      "from": "n8n",
      "to": "Change Password"
    },
    {
      "from": "Stat",
      "to": "SSH"
    },
    {
      "from": "Stop",
      "to": "SSH"
    },
    {
      "from": "Code1",
      "to": "API answer"
    },
    {
      "from": "Start",
      "to": "SSH"
    },
    {
      "from": "Users",
      "to": "SSH"
    },
    {
      "from": "nginx",
      "to": "Deploy-docker-compose"
    },
    {
      "from": "Deploy",
      "to": "SSH"
    },
    {
      "from": "GET ACL",
      "to": "SSH"
    },
    {
      "from": "GET NET",
      "to": "SSH"
    },
    {
      "from": "Inspect",
      "to": "SSH"
    },
    {
      "from": "SET ACL",
      "to": "SSH"
    },
    {
      "from": "Suspend",
      "to": "SSH"
    },
    {
      "from": "Version",
      "to": "SSH"
    },
    {
      "from": "Parametrs",
      "to": "If"
    },
    {
      "from": "Unsuspend",
      "to": "SSH"
    },
    {
      "from": "Mount Disk",
      "to": "SSH"
    },
    {
      "from": "Terminated",
      "to": "SSH"
    },
    {
      "from": "Unmount Disk",
      "to": "SSH"
    },
    {
      "from": "ChangePackage",
      "to": "SSH"
    },
    {
      "from": "Change Password",
      "to": "SSH"
    },
    {
      "from": "Container Stats",
      "to": "Inspect"
    },
    {
      "from": "Container Stats",
      "to": "Stat"
    },
    {
      "from": "Container Stats",
      "to": "Log"
    },
    {
      "from": "Service Actions",
      "to": "Test Connection1"
    },
    {
      "from": "Service Actions",
      "to": "Deploy"
    },
    {
      "from": "Service Actions",
      "to": "Suspend"
    },
    {
      "from": "Service Actions",
      "to": "Unsuspend"
    },
    {
      "from": "Service Actions",
      "to": "Terminated"
    },
    {
      "from": "Service Actions",
      "to": "ChangePackage"
    },
    {
      "from": "Test Connection1",
      "to": "SSH"
    },
    {
      "from": "Container Actions",
      "to": "Start"
    },
    {
      "from": "Container Actions",
      "to": "Stop"
    },
    {
      "from": "Container Actions",
      "to": "Mount Disk"
    },
    {
      "from": "Container Actions",
      "to": "Unmount Disk"
    },
    {
      "from": "Container Actions",
      "to": "GET ACL"
    },
    {
      "from": "Container Actions",
      "to": "SET ACL"
    },
    {
      "from": "Container Actions",
      "to": "GET NET"
    },
    {
      "from": "Deploy-docker-compose",
      "to": "Service Actions"
    }
  ]
}