8
n8n 한국어amn8n.com

금价 알림

중급

이것은Crypto Trading분야의자동화 워크플로우로, 10개의 노드를 포함합니다.주로 If, Html, HttpRequest, ScheduleTrigger 등의 노드를 사용하며. 웹 스크래핑 기반 LINE 골드 가격 임계값 알림

사전 요구사항
  • 대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "CQ33IAKSfdDbLzmK",
  "meta": {
    "instanceId": "558d88703fb65b2d0e44613bc35916258b0f0bf983c5d4730c00c424b77ca36a"
  },
  "name": "Gold Price Alert",
  "tags": [],
  "nodes": [
    {
      "id": "771277db-5553-4d8f-8519-a27e25107178",
      "name": "일정 트리거",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -480,
        20
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours",
              "hoursInterval": 6
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "cf148eee-50dc-41a7-9555-a906676bbc81",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        360,
        20
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "6decc8be-9041-4975-b700-16f8360578b5",
              "operator": {
                "type": "number",
                "operation": "gt"
              },
              "leftValue": "={{ parseFloat($json['#DetailPlace_uc_goldprices1_lblBLBuy'].replace(/[^\\d.]/g, '')) }}",
              "rightValue": 52300
            },
            {
              "id": "553a009d-a08a-4746-b546-d1a43352b07f",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "f98523e4-4dbc-486c-9a7e-babb024aa907",
      "name": "메모",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        -80
      ],
      "parameters": {
        "width": 260,
        "height": 260,
        "content": "Schedule to check every 6 hours to see the current gold price"
      },
      "typeVersion": 1
    },
    {
      "id": "62bd43cd-755c-44b7-b30d-27416d61f9a5",
      "name": "메모1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        -80
      ],
      "parameters": {
        "color": 5,
        "width": 260,
        "height": 260,
        "content": "To get normal webpage, we can use HTTP request without any authoriation and the output will be HTML code"
      },
      "typeVersion": 1
    },
    {
      "id": "e6d39001-667e-4632-9b46-2890e2c9aa60",
      "name": "메모2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -80
      ],
      "parameters": {
        "color": 5,
        "width": 260,
        "height": 260,
        "content": "We would specify what we want from the HTML code earlier eg. Price -- You can find the element by right click > inspect "
      },
      "typeVersion": 1
    },
    {
      "id": "ec2e7f8b-1867-436a-8537-af9c69d9c726",
      "name": "Get Webpage",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -200,
        20
      ],
      "parameters": {
        "url": "https://www.goldtraders.or.th/",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "35f7cac8-ce35-4ba8-893d-aa69e0ea5141",
      "name": "Extract Price",
      "type": "n8n-nodes-base.html",
      "position": [
        80,
        20
      ],
      "parameters": {
        "options": {},
        "operation": "extractHtmlContent",
        "extractionValues": {
          "values": [
            {
              "key": "#DetailPlace_uc_goldprices1_lblBLBuy",
              "cssSelector": "#DetailPlace_uc_goldprices1_lblBLBuy"
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "a8f8d4ed-124d-4921-a03a-25459a015100",
      "name": "메모3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        -140
      ],
      "parameters": {
        "color": 4,
        "width": 260,
        "height": 320,
        "content": "We do not want all the alerts. Thus, we only filter to alert once the price is more than the given number.\n\nIn order to compare, we also need to convert the text to number as well."
      },
      "typeVersion": 1
    },
    {
      "id": "1a3cce75-f2d0-4934-b0c9-7c7f8b4e5681",
      "name": "Send Line Message",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        660,
        -120
      ],
      "parameters": {
        "url": "https://api.line.me/v2/bot/message/push",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n    \"to\": \"Ue9cc622e33e5333e3784298412ec9aed\",\n    \"messages\":[\n        {\n            \"type\":\"text\",\n            \"text\":\"ราคาทองวันนี้  {{ $json['#DetailPlace_uc_goldprices1_lblBLBuy'] }}\"\n        }\n    ]\n}",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "lKd3b2nc8uNJ148Z",
          "name": "Line @271dudsw MiniBear"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "b979a549-4717-49f1-8678-e3b699682dc9",
      "name": "메모4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        -220
      ],
      "parameters": {
        "width": 260,
        "height": 260,
        "content": "When the condition is met, it'll send the message via line. This can be other platform such as telegram or email"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ac7f75f8-6820-4ec3-9934-0fbcc45cfad3",
  "connections": {
    "cf148eee-50dc-41a7-9555-a906676bbc81": {
      "main": [
        [
          {
            "node": "1a3cce75-f2d0-4934-b0c9-7c7f8b4e5681",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ec2e7f8b-1867-436a-8537-af9c69d9c726": {
      "main": [
        [
          {
            "node": "35f7cac8-ce35-4ba8-893d-aa69e0ea5141",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "35f7cac8-ce35-4ba8-893d-aa69e0ea5141": {
      "main": [
        [
          {
            "node": "cf148eee-50dc-41a7-9555-a906676bbc81",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "ec2e7f8b-1867-436a-8537-af9c69d9c726",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

중급 - 암호화폐 거래

유료인가요?

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

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

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

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34