AutomationFlowsGeneral › Import n8n Workflows with ExecuteCommand

Import n8n Workflows with ExecuteCommand

Original n8n title: Internal/import

internal/import. Uses executeCommand. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexity3 nodesExecute Command
General Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ Added:

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
{
  "createdAt": "2023-01-02T10:29:34.090Z",
  "updatedAt": "2023-01-05T01:14:44.000Z",
  "id": 2,
  "name": "internal/import",
  "active": false,
  "nodes": [
    {
      "parameters": {
        "command": "npx n8n import:workflow --separate --input=workflows"
      },
      "name": "Import Workflows",
      "type": "n8n-nodes-base.executeCommand",
      "position": [
        640,
        340
      ],
      "typeVersion": 1,
      "id": "cfe2c85d-c2c1-4257-b030-a5344db4b46a"
    },
    {
      "parameters": {},
      "name": "Manual",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        420,
        340
      ],
      "typeVersion": 1,
      "id": "699de5bc-17fc-4383-b060-3890fa70bf67"
    },
    {
      "parameters": {
        "command": "npx n8n import:credentials --separate --input=credentials"
      },
      "name": "Import Credentials",
      "type": "n8n-nodes-base.executeCommand",
      "position": [
        860,
        340
      ],
      "typeVersion": 1,
      "id": "51a48ad2-1744-4a60-a3f3-78c11b8fefe8"
    }
  ],
  "connections": {
    "Manual": {
      "main": [
        [
          {
            "node": "Import Workflows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Import Workflows": {
      "main": [
        [
          {
            "node": "Import Credentials",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {},
  "staticData": null,
  "dataLoaded": false,
  "versionId": "ee13fa9e-3eef-4745-a33b-5b67fa5b5deb",
  "triggerCount": 0,
  "tags": [
    {
      "createdAt": "2023-01-05T01:06:59.751Z",
      "updatedAt": "2023-01-05T01:06:59.751Z",
      "id": "1",
      "name": "internal"
    }
  ]
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

internal/import. Uses executeCommand. Event-driven trigger; 3 nodes.

Source: https://github.com/7PH/n8n-self-hosted/blob/master/workflows/2.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

N8N Español - Ejemplos. Uses manualTrigger, executeCommand. Event-driven trigger; 7 nodes.

Execute Command
General

N8N Workflow. Uses executeCommand, localFileTrigger. Event-driven trigger; 7 nodes.

Execute Command, Local File Trigger
General

Manual Executecommand. Uses executeCommand, manualTrigger, readBinaryFiles. Event-driven trigger; 4 nodes.

Execute Command, Read Binary Files
General

internal/export. Uses manualTrigger, executeCommand. Event-driven trigger; 3 nodes.

Execute Command
General

Blog Write Queue. Uses executeCommand. Event-driven trigger; 2 nodes.

Execute Command