8
n8n 한국어amn8n.com

n8n API를 사용하여 인스턴스 간 n8n 작업 흐름을 클론

고급

이것은Other분야의자동화 워크플로우로, 17개의 노드를 포함합니다.주로 N8n, Set, Code, Merge, Filter 등의 노드를 사용하며. n8n API를 사용하여 인스턴스 간 n8n 워크플로우를 복제

사전 요구사항
  • 대상 API의 인증 정보가 필요할 수 있음

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "yOhH9SGiZgZTDUB4",
  "meta": {
    "instanceId": "ecc960f484e18b0e09045fd93acf0d47f4cfff25cc212ea348a08ac3aae81850",
    "templateCredsSetupCompleted": true
  },
  "name": "Clone n8n Workflows between Instances using n8n API",
  "tags": [
    {
      "id": "aw8suPYTKfXDtMZl",
      "name": "Utility",
      "createdAt": "2025-02-10T14:41:49.045Z",
      "updatedAt": "2025-02-10T14:41:49.045Z"
    },
    {
      "id": "6rb8rVhKZj4t0Kne",
      "name": "Current",
      "createdAt": "2025-02-04T18:13:17.427Z",
      "updatedAt": "2025-02-04T18:13:17.427Z"
    }
  ],
  "nodes": [
    {
      "id": "9e61140a-2b09-4dab-9a3b-3ca9781410cf",
      "name": "'워크플로우 테스트' 클릭 시",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -80,
        -260
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "50fdfb08-0ca1-4bb4-82a6-46b81ef6e3b2",
      "name": "GET - 워크플로우",
      "type": "n8n-nodes-base.n8n",
      "position": [
        180,
        -400
      ],
      "parameters": {
        "filters": {},
        "requestOptions": {}
      },
      "credentials": {
        "n8nApi": {
          "id": "HBPpxcTQs4aNcq4K",
          "name": "AK n8n original account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "7c1b5530-bc0c-41f8-ac5f-d53c42ea9c44",
      "name": "CREATE - 워크플로우",
      "type": "n8n-nodes-base.n8n",
      "position": [
        1200,
        -160
      ],
      "parameters": {
        "operation": "create",
        "requestOptions": {},
        "workflowObject": "={\n  \"name\": \"{{ $json.name }}\",\n  \"nodes\": {{ JSON.stringify($json[\"nodes\"]) }},\n  \"connections\": {{ JSON.stringify($json[\"connections\"] || {}) }}\n}\n"
      },
      "credentials": {
        "n8nApi": {
          "id": "0XLL6lxiSB0ORf5Z",
          "name": "AlexK1919 n8n ent account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "af3a81b1-f09f-4373-b603-657bba8c1776",
      "name": "n8n - GET - 프로젝트",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1400,
        -160
      ],
      "parameters": {
        "url": "https://n8n-ent.alexk1919.com/api/v1/projects",
        "options": {},
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "n8nApi"
      },
      "credentials": {
        "n8nApi": {
          "id": "0XLL6lxiSB0ORf5Z",
          "name": "AlexK1919 n8n ent account"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "852e6236-aafd-4223-bb90-42db4c923a59",
      "name": "프로젝트 ID 설정",
      "type": "n8n-nodes-base.set",
      "position": [
        2000,
        -160
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "6ba45511-cf1b-42e6-b711-b9abd33ed7e3",
              "name": "data.id",
              "type": "string",
              "value": "={{ $json.data.id }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "e8dfa94b-82c1-45ee-b87b-f88996569957",
      "name": "PUT - 프로젝트 내 워크플로우",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2200,
        -160
      ],
      "parameters": {
        "url": "=https://n8n-ent.alexk1919.com/api/v1/workflows/{{ $('CREATE - Workflow').item.json.id }}/transfer",
        "method": "PUT",
        "options": {},
        "sendBody": true,
        "authentication": "predefinedCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "destinationProjectId",
              "value": "={{ $json.data.id }}"
            }
          ]
        },
        "nodeCredentialType": "n8nApi"
      },
      "credentials": {
        "n8nApi": {
          "id": "0XLL6lxiSB0ORf5Z",
          "name": "AlexK1919 n8n ent account"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "e705f445-c125-4ce5-aa33-f91c3f1fb2a6",
      "name": "항목 루프",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1000,
        -260
      ],
      "parameters": {
        "options": {},
        "batchSize": 5
      },
      "typeVersion": 3
    },
    {
      "id": "cec95100-64a0-4d56-986a-1cdeb6063b96",
      "name": "스티커 노트1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1740,
        -300
      ],
      "parameters": {
        "color": 3,
        "width": 220,
        "content": "### Change the Destination Project by changing the Project Name"
      },
      "typeVersion": 1
    },
    {
      "id": "b23a6293-a732-42b4-9976-6d3ab750bd44",
      "name": "스티커 노트",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        120,
        -540
      ],
      "parameters": {
        "color": 3,
        "width": 220,
        "content": "### Change the Source n8n Instance by changing the Credential"
      },
      "typeVersion": 1
    },
    {
      "id": "a4e2f1f9-dab9-4576-ba66-d36a16a4d82a",
      "name": "스티커 노트2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        120,
        -220
      ],
      "parameters": {
        "color": 3,
        "width": 220,
        "content": "### Change the Destination n8n Instance by changing the Credential"
      },
      "typeVersion": 1
    },
    {
      "id": "56997c18-8985-4fdd-b313-de07ee67c6d7",
      "name": "GET - 대상 워크플로우",
      "type": "n8n-nodes-base.n8n",
      "position": [
        180,
        -80
      ],
      "parameters": {
        "limit": 200,
        "filters": {},
        "returnAll": false,
        "requestOptions": {
          "batching": {
            "batch": {}
          }
        }
      },
      "credentials": {
        "n8nApi": {
          "id": "0XLL6lxiSB0ORf5Z",
          "name": "AlexK1919 n8n ent account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "c9bb6d33-a674-416b-916d-56352b74a603",
      "name": "코드",
      "type": "n8n-nodes-base.code",
      "disabled": true,
      "position": [
        800,
        -260
      ],
      "parameters": {
        "jsCode": "const data = $json;\nconsole.log(\"Merged Output:\", data);\nreturn [data];\n"
      },
      "typeVersion": 2
    },
    {
      "id": "3357623e-e41a-4441-aba4-4593cbc77bdd",
      "name": "워크플로우 분할",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        380,
        -400
      ],
      "parameters": {
        "include": "allOtherFields",
        "options": {},
        "fieldToSplitOut": "id"
      },
      "typeVersion": 1
    },
    {
      "id": "b1a2d1df-4957-491d-9c8d-347c4c5197f1",
      "name": "워크플로우 분할1",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        380,
        -80
      ],
      "parameters": {
        "include": "allOtherFields",
        "options": {},
        "fieldToSplitOut": "id"
      },
      "typeVersion": 1
    },
    {
      "id": "f0f4c869-f171-4019-a081-9c232851f0a9",
      "name": "워크플로우 병합",
      "type": "n8n-nodes-base.merge",
      "position": [
        600,
        -260
      ],
      "parameters": {
        "mode": "combineBySql",
        "query": "SELECT input1.name, input1.createdAt, input1.updatedAt, input1.active, input1.nodes, input1.settings, input1.connections, input1.pinData, input1.tags, input1.id\nFROM input1\nLEFT JOIN input2 \nON input1.name = input2.name\nWHERE input2.name IS NULL\n"
      },
      "typeVersion": 3
    },
    {
      "id": "f69c8787-7590-4011-a36f-36c9192089cf",
      "name": "프로젝트 분할",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1600,
        -160
      ],
      "parameters": {
        "include": "allOtherFields",
        "options": {},
        "fieldToSplitOut": "data"
      },
      "typeVersion": 1
    },
    {
      "id": "7c8f8957-f80c-4250-96fb-f86032e3aacc",
      "name": "프로젝트 필터",
      "type": "n8n-nodes-base.filter",
      "position": [
        1800,
        -160
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "74ca2595-359b-4e17-988b-799306f748cf",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.data.name }}",
              "rightValue": "z Original n8n Workflows from AlexK1919"
            }
          ]
        }
      },
      "typeVersion": 2.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "0178ee38-a035-40e7-9a62-34dfdf6f0b93",
  "connections": {
    "c9bb6d33-a674-416b-916d-56352b74a603": {
      "main": [
        [
          {
            "node": "e705f445-c125-4ce5-aa33-f91c3f1fb2a6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7c8f8957-f80c-4250-96fb-f86032e3aacc": {
      "main": [
        [
          {
            "node": "852e6236-aafd-4223-bb90-42db4c923a59",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "852e6236-aafd-4223-bb90-42db4c923a59": {
      "main": [
        [
          {
            "node": "e8dfa94b-82c1-45ee-b87b-f88996569957",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "50fdfb08-0ca1-4bb4-82a6-46b81ef6e3b2": {
      "main": [
        [
          {
            "node": "3357623e-e41a-4441-aba4-4593cbc77bdd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e705f445-c125-4ce5-aa33-f91c3f1fb2a6": {
      "main": [
        [],
        [
          {
            "node": "7c1b5530-bc0c-41f8-ac5f-d53c42ea9c44",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f0f4c869-f171-4019-a081-9c232851f0a9": {
      "main": [
        [
          {
            "node": "c9bb6d33-a674-416b-916d-56352b74a603",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7c1b5530-bc0c-41f8-ac5f-d53c42ea9c44": {
      "main": [
        [
          {
            "node": "af3a81b1-f09f-4373-b603-657bba8c1776",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f69c8787-7590-4011-a36f-36c9192089cf": {
      "main": [
        [
          {
            "node": "7c8f8957-f80c-4250-96fb-f86032e3aacc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3357623e-e41a-4441-aba4-4593cbc77bdd": {
      "main": [
        [
          {
            "node": "f0f4c869-f171-4019-a081-9c232851f0a9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b1a2d1df-4957-491d-9c8d-347c4c5197f1": {
      "main": [
        [
          {
            "node": "f0f4c869-f171-4019-a081-9c232851f0a9",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "af3a81b1-f09f-4373-b603-657bba8c1776": {
      "main": [
        [
          {
            "node": "f69c8787-7590-4011-a36f-36c9192089cf",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e8dfa94b-82c1-45ee-b87b-f88996569957": {
      "main": [
        [
          {
            "node": "e705f445-c125-4ce5-aa33-f91c3f1fb2a6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "56997c18-8985-4fdd-b313-de07ee67c6d7": {
      "main": [
        [
          {
            "node": "b1a2d1df-4957-491d-9c8d-347c4c5197f1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9e61140a-2b09-4dab-9a3b-3ca9781410cf": {
      "main": [
        [
          {
            "node": "50fdfb08-0ca1-4bb4-82a6-46b81ef6e3b2",
            "type": "main",
            "index": 0
          },
          {
            "node": "56997c18-8985-4fdd-b313-de07ee67c6d7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

고급 - 기타

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
고급
노드 수17
카테고리1
노드 유형10
난이도 설명

고급 사용자를 위한 16+개 노드의 복잡한 워크플로우

저자
Alex Kim

Alex Kim

@alexk1919

n8n Ambassador & Verified Partner

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34