8
n8n 한국어amn8n.com

TimeZoneDB API를 통한 시간대 변환 통합

중급

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

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

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "P7c87hjmVGCrI5Hd",
  "meta": {
    "instanceId": "1777696fb9fddfee653e70940936c2b1e28ba1f1bde53b7182fbd6eb01988706"
  },
  "name": "Convert Time Zones with TimeZoneDB API Integration",
  "tags": [],
  "nodes": [
    {
      "id": "5b7534b7-7ad2-4f8e-9ef0-67bae5b9295b",
      "name": "Webhook 입력",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        80
      ],
      "parameters": {
        "width": 340,
        "height": 560,
        "content": "## Webhook Input\n\nThis node listens for incoming POST requests. It expects a JSON body with the following properties:\n\n* `fromZone` (source timezone IANA name, e.g., `America/New_York`)\n* `toZone` (target timezone IANA name, e.g., `Europe/London`)\n* `time` (Unix timestamp in seconds, e.g., `1678886400` for March 15, 2023 12:00:00 PM UTC)\n\n**Note:** The TimeZoneDB API key is handled securely by n8n's credential system and should **not** be included in the webhook body."
      },
      "typeVersion": 1
    },
    {
      "id": "25af01e7-59e7-4339-adbf-07fd1398135c",
      "name": "TimeZoneDB API 호출",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        160
      ],
      "parameters": {
        "color": 2,
        "width": 400,
        "height": 480,
        "content": "## TimeZoneDB API Call\n\nThis node makes an HTTP GET request to the TimeZoneDB API's `convert-time-zone` endpoint. It dynamically constructs the URL using the source zone, target zone, and Unix timestamp provided in the webhook body.\n\n**Crucially, the API key is retrieved securely from n8n's pre-configured credentials**, ensuring it is not exposed directly in the workflow's URL parameters or webhook body. This fetches the converted time."
      },
      "typeVersion": 1
    },
    {
      "id": "a5f0025b-1291-4e6d-ad83-90742eb69e12",
      "name": "Webhook 응답",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1740,
        240
      ],
      "parameters": {
        "color": 3,
        "width": 360,
        "height": 400,
        "content": "## Webhook Response\n\nThis node sends the conversion result received from the TimeZoneDB API back to the original webhook caller. The response includes the converted time, the time zone names, and status information provided by the API."
      },
      "typeVersion": 1
    },
    {
      "id": "f5e1f969-313f-4ac0-bc53-91bb66556254",
      "name": "시간 변환 요청 수신",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1000,
        480
      ],
      "webhookId": "convert-timezone-request",
      "parameters": {
        "path": "convert-timezone",
        "options": {},
        "httpMethod": "POST",
        "responseMode": "responseNode"
      },
      "typeVersion": 2
    },
    {
      "id": "f3725910-1f3f-44c8-9c54-3fd4a55ea524",
      "name": "변환된 시간으로 응답",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1860,
        480
      ],
      "parameters": {
        "options": {},
        "respondWith": "allIncomingItems"
      },
      "typeVersion": 1.2
    },
    {
      "id": "202847ea-f056-455f-970c-758ce5d61e17",
      "name": "시간대 변환 (TimeZoneDB)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1440,
        480
      ],
      "parameters": {
        "url": "=http://api.timezonedb.com/v2.1/convert-time-zone?format=json&from={{$json.body.fromZone}}&to={{$json.body.toZone}}&time={{$json.body.time}}",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpQueryAuth"
      },
      "credentials": {
        "httpQueryAuth": {
          "id": "RdVVfStIsheYjSeZ",
          "name": "TimeZoneDB API"
        }
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "05d74ef8-eb7c-442c-9786-0d40880fc9d7",
  "connections": {
    "202847ea-f056-455f-970c-758ce5d61e17": {
      "main": [
        [
          {
            "node": "f3725910-1f3f-44c8-9c54-3fd4a55ea524",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f5e1f969-313f-4ac0-bc53-91bb66556254": {
      "main": [
        [
          {
            "node": "202847ea-f056-455f-970c-758ce5d61e17",
            "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