8
n8n 中文网amn8n.com

使用CoinGecko监控加密货币交易活动并发送警报到Discord

高级

这是一个Crypto Trading领域的自动化工作流,包含 20 个节点。主要使用 If, Code, Merge, HttpRequest, ScheduleTrigger 等节点。 使用CoinGecko监控加密货币交易活动并发送警报到Discord

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "76f564ce9e1f496ea6c3533f155d5217a31a74b1b62bea30c37742947aa7de7c"
  },
  "nodes": [
    {
      "id": "774afbd6-30b9-4128-a91e-3d949407f16d",
      "name": "获取页面 5",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1760,
        256
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "6d280930-8418-4d76-8723-a02cba5d65fd",
      "name": "获取页面",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1760,
        -464
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "c44a07bd-54a5-4f09-89ea-0e831763f49d",
      "name": "获取页面 6",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1760,
        -288
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "9d915939-468d-4c5d-8194-4451e8906db2",
      "name": "获取页面 7",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1760,
        -112
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "0c351ade-eff4-4c2b-8ebb-37b2a8b1a6fd",
      "name": "获取页面 8",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1760,
        80
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "672fa521-65e5-49c8-b695-90dccb9c9a9e",
      "name": "合并1",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1168,
        -80
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "520c616c-566f-46df-9d87-4bc67bca0f85",
      "name": "分析活动量1",
      "type": "n8n-nodes-base.code",
      "position": [
        -736,
        -32
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "368e4708-7858-420d-8f9e-0f014471746d",
      "name": "格式化 Discord 消息1",
      "type": "n8n-nodes-base.code",
      "position": [
        272,
        -16
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ee3dcbff-b23c-4ca4-88ac-4cb53fd4b87c",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2800,
        -1360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "31a25dd4-f5fa-4e81-8482-1693134669de",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1920,
        -1104
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "48ee5c84-4c0d-4ad3-ba1d-c811dcb94f78",
      "name": "便签 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1328,
        -464
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e1376987-eb5b-43fa-a3a2-f4fff8334a3c",
      "name": "便签 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -848,
        -544
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b0d955a3-926e-42e5-9447-1221dbaca9a4",
      "name": "便签 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        -416
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "471ef2f0-caa7-4def-81e2-58d888b2bceb",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        -576
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f324287c-7c63-4da3-a143-83d0937c4bc2",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        -576
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6bb0f8f8-e1f4-45fb-bb18-918585ddc9f8",
      "name": "### 替换 Airtable 连接",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2800,
        -1360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8bd0cff8-f24d-425f-9496-ced34c11f07c",
      "name": "每 2 小时",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -2512,
        -96
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "88de1994-c2dd-4d47-8a17-75792768f428",
      "name": "有警报吗?",
      "type": "n8n-nodes-base.if",
      "position": [
        -192,
        -32
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e88df4fe-e291-4be7-bb50-f59122fe2ace",
      "name": "发送消息警报到 Discord",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        848,
        -16
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "16ada5bb-f328-4b46-97cc-c50bea4b1609",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2672,
        -400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Merge1": {
      "main": [
        [
          {
            "node": "Analyze Volume Activity1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Page ": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has Alerts?": {
      "main": [
        [],
        [
          {
            "node": "Format Discord Message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Page 5": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 4
          }
        ]
      ]
    },
    "Fetch Page 6": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Fetch Page 7": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Fetch Page 8": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Every 2 Hours": {
      "main": [
        [
          {
            "node": "Fetch Page ",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Page 6",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Page 7",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Page 8",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Page 5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Discord Message1": {
      "main": [
        [
          {
            "node": "Send Message Alert to Discord",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Volume Activity1": {
      "main": [
        [
          {
            "node": "Has Alerts?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 加密货币交易

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量20
分类1
节点类型6
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

外部链接
在 n8n.io 查看

分享此工作流