8
n8n 한국어amn8n.com

ExchangeRate.host를 통해 Webhook를 사용하여 화폐 변환

중급

이것은Building Blocks분야의자동화 워크플로우로, 6개의 노드를 포함합니다.주로 Webhook, HttpRequest, RespondToWebhook 등의 노드를 사용하며. ExchangeRate.host를 통해 Webhook를 사용하여 화폐 변환

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

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "vQB8xArVsMh8sroM",
  "meta": {
    "instanceId": "1777696fb9fddfee653e70940936c2b1e28ba1f1bde53b7182fbd6eb01988706"
  },
  "name": "Currency Converter via Webhook using ExchangeRate.host",
  "tags": [],
  "nodes": [
    {
      "id": "6f42915a-6851-4e36-b086-29fc6c975d48",
      "name": "Webhook 트리거",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -160
      ],
      "parameters": {
        "width": 280,
        "height": 540,
        "content": "## Webhook Input\n\nThis node listens for incoming POST requests. It expects a JSON body with the following properties:\n\n* `from` (source currency's 3-letter ISO 4217 code, e.g., `USD`)\n* `to` (target currency's 3-letter ISO 4217 code, e.g., `EUR`)\n* `amount` (numeric value to convert)\n\n**Important:** The ExchangeRate.host API key is handled securely by n8n's credential system and should **not** be included in the webhook body or headers."
      },
      "typeVersion": 1
    },
    {
      "id": "52cb862c-71e1-4960-a0f2-2f6a7c620d7b",
      "name": "통화 변환 API 호출",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        -160
      ],
      "parameters": {
        "color": 2,
        "width": 280,
        "height": 540,
        "content": "## Currency Conversion API Call\n\nThis node makes an HTTP GET request to the ExchangeRate.host API to perform the currency conversion. It uses the `from`, `to`, and `amount` from the webhook body to build the API request URL.\n\n**The API access key is securely retrieved from n8n's pre-configured credentials** (HTTP Query Auth type) and automatically added as a query parameter (`access_key`). This ensures your key is not exposed in the workflow or webhook requests."
      },
      "typeVersion": 1
    },
    {
      "id": "e75b2ecb-7637-4dfc-9ded-d2f8294d64ba",
      "name": "Webhook 응답",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        0
      ],
      "parameters": {
        "color": 3,
        "width": 320,
        "height": 380,
        "content": "## Webhook Response\n\nThis node sends the currency conversion result received from ExchangeRate.host back to the original caller of the webhook. You can insert other nodes before this to format the output, log the conversion, or perform further actions before responding."
      },
      "typeVersion": 1
    },
    {
      "id": "aa7f2f15-a806-41a2-94fc-7e3e0b34e66c",
      "name": "통화 변환",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        420,
        220
      ],
      "parameters": {
        "url": "=https://api.exchangerate.host/convert?from={{ $json.body.from }}&to={{ $json.body.to }}&amount={{ $json.body.amount }}",
        "method": "=GET",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpQueryAuth"
      },
      "credentials": {
        "httpQueryAuth": {
          "id": "HK0TybEUeSEKTm0j",
          "name": "ExchangeRate"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "7d362367-2cbc-4761-ac60-a9c0cdf96329",
      "name": "변환 요청 수신 Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        80,
        220
      ],
      "webhookId": "fe5e86fb-2975-4206-8982-19c52dc6a327-unique-id",
      "parameters": {
        "path": "convert-currency",
        "options": {},
        "httpMethod": "POST",
        "responseMode": "responseNode"
      },
      "typeVersion": 2
    },
    {
      "id": "9cfde3de-fdad-4d16-bed4-08512d57dd73",
      "name": "변환된 금액으로 응답",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        780,
        220
      ],
      "parameters": {
        "options": {},
        "respondWith": "allIncomingItems"
      },
      "typeVersion": 1.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "d7c961bc-e3f3-42a4-8238-5b0393417449",
  "connections": {
    "aa7f2f15-a806-41a2-94fc-7e3e0b34e66c": {
      "main": [
        [
          {
            "node": "9cfde3de-fdad-4d16-bed4-08512d57dd73",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7d362367-2cbc-4761-ac60-a9c0cdf96329": {
      "main": [
        [
          {
            "node": "aa7f2f15-a806-41a2-94fc-7e3e0b34e66c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

중급 - 빌딩 블록

유료인가요?

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

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

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

저자
ist00dent

ist00dent

@ist00dent

I’m a dedicated automation engineer passionate about no-code and low-code solutions. I design and implement robust n8n workflows—integrating APIs, databases, and messaging—to eliminate manual tasks and accelerate delivery. Leveraging Python and C#, I build scalable, adaptable automations that empower teams to focus on high-value work.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34