AutomationFlowsGeneral › HomeLab CLI

HomeLab CLI

HomeLab CLI. Uses executeWorkflowTrigger, ssh. Event-driven trigger; 2 nodes.

Event trigger★☆☆☆☆ complexity2 nodesExecute Workflow TriggerSsh
General Trigger: Event Nodes: 2 Complexity: ★☆☆☆☆

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "updatedAt": "2025-10-06T05:54:35.000Z",
  "createdAt": "2025-10-06T05:43:57.170Z",
  "id": "DblYrk0azkxZdLCx",
  "name": "HomeLab CLI",
  "active": false,
  "isArchived": false,
  "nodes": [
    {
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "command"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "typeVersion": 1.1,
      "position": [
        0,
        0
      ],
      "id": "a945efc5-b8a2-4229-9f31-6408a38a9e16",
      "name": "When Executed by Another Workflow"
    },
    {
      "parameters": {
        "command": "={{ $json.command }}"
      },
      "type": "n8n-nodes-base.ssh",
      "typeVersion": 1,
      "position": [
        208,
        0
      ],
      "id": "2839db4f-a1f9-4532-8b48-7bf94b32a708",
      "name": "Execute a command",
      "credentials": {
        "sshPassword": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Execute a command",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "versionId": "887e56db-3a6c-4b0f-b03c-48189891ba89",
  "triggerCount": 0,
  "shared": [
    {
      "updatedAt": "2025-10-06T05:43:57.176Z",
      "createdAt": "2025-10-06T05:43:57.176Z",
      "role": "workflow:owner",
      "workflowId": "DblYrk0azkxZdLCx",
      "projectId": "DiQC0tGxFhuiK9UM"
    }
  ],
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

About this workflow

HomeLab CLI. Uses executeWorkflowTrigger, ssh. Event-driven trigger; 2 nodes.

Source: https://github.com/SamVivan1/n8n-Workflows-Backup/blob/main/homelab-cli-DblYrk0azkxZdLCx.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →