8
n8n 한국어amn8n.com

n8n 인스턴스의 공공 IP 주소 가져오기

중급

이것은Engineering분야의자동화 워크플로우로, 6개의 노드를 포함합니다.주로 Set, Webhook, Aggregate, HttpRequest, RespondToWebhook 등의 노드를 사용하며. n8n 인스턴스의 공공 IP 주소 가져오기

사전 요구사항
  • HTTP Webhook 엔드포인트(n8n이 자동으로 생성)
  • 대상 API의 인증 정보가 필요할 수 있음

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "OU7CNqiRY4Kbvq1a",
  "meta": {
    "instanceId": "135b9ed6d0f8a3f531d9011b0173000ad0dac1ffc90258e867f38c270f30c9dc",
    "templateCredsSetupCompleted": true
  },
  "name": "fetch-public-IP-address-for-n8n-instance",
  "tags": [],
  "nodes": [
    {
      "id": "1f1aa04c-fde0-4166-a714-451964e45fe5",
      "name": "HTTP 요청",
      "type": "n8n-nodes-base.httpRequest",
      "notes": "request public IP address information as json",
      "position": [
        300,
        -160
      ],
      "parameters": {
        "url": "https://api.ipify.org",
        "options": {},
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "format",
              "value": "json"
            }
          ]
        }
      },
      "executeOnce": false,
      "notesInFlow": true,
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "ddb35464-535f-4ce4-a14d-682673690ca0",
      "name": "Webhook 트리거",
      "type": "n8n-nodes-base.webhook",
      "notes": "simple webhook with header-auth",
      "position": [
        -140,
        -160
      ],
      "webhookId": "4879bc79-d6f8-48df-bfe4-613366c7f399",
      "parameters": {
        "path": "4879bc79-d6f8-48df-bfe4-613366c7f399",
        "options": {},
        "responseMode": "responseNode",
        "authentication": "headerAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "0K7Eny0GNMoVhKel",
          "name": "Header Auth account"
        }
      },
      "notesInFlow": true,
      "typeVersion": 2
    },
    {
      "id": "a6ac927d-404d-44a7-8268-4609094c1346",
      "name": "Respond to Webhook 트리거",
      "type": "n8n-nodes-base.respondToWebhook",
      "notes": "return an array from the workflow and end the webhook invocation.",
      "position": [
        740,
        -160
      ],
      "parameters": {
        "options": {},
        "respondWith": "text",
        "responseBody": "={{ $json.data.pluck('ip').unique().toJsonString() }}"
      },
      "executeOnce": true,
      "notesInFlow": true,
      "typeVersion": 1.2,
      "alwaysOutputData": true
    },
    {
      "id": "20a55cc9-fba5-4392-a807-2783db6261bb",
      "name": "메모",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        -300
      ],
      "parameters": {
        "width": 1160,
        "height": 380,
        "content": "## to fetch the public IP address(es) for the hosting n8n instance\n\n* prerequisite: a header-auth credential with a uuid or an arbitrary random string.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n* example invocation\n$ curl -H \"api-key: super-long-api-token\" http://localhost:5678/webhook-test/4879bc79-d6f8-48df-bfe4-613366c7f399\n[\"88.88.88.66\", \"88.88.88.88\"]"
      },
      "typeVersion": 1
    },
    {
      "id": "908003cf-f012-4bd6-8128-b3238de2507d",
      "name": "집계",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        520,
        -160
      ],
      "parameters": {
        "options": {},
        "aggregate": "aggregateAllItemData"
      },
      "typeVersion": 1
    },
    {
      "id": "115d0f12-7ee0-4d0d-8086-f462e8bee197",
      "name": "Repeat",
      "type": "n8n-nodes-base.set",
      "notes": "Repeat 10 times",
      "position": [
        80,
        -160
      ],
      "parameters": {
        "options": {},
        "duplicateItem": true,
        "duplicateCount": 10
      },
      "executeOnce": true,
      "notesInFlow": true,
      "typeVersion": 3.4,
      "alwaysOutputData": true
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ea9c9b26-5362-4ee9-84b0-fae0bf02305c",
  "connections": {
    "115d0f12-7ee0-4d0d-8086-f462e8bee197": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "115d0f12-7ee0-4d0d-8086-f462e8bee197",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

중급 - 엔지니어링

유료인가요?

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

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

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Ger Longstacks

Ger Longstacks

@dims3body

DevOps expert passionate with automation, be it infrastructure provisioning, cloud operation, or workflow.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34