使用Gecko Coin获取BTC、ETH、SOL、BNB的OHLC数据并发送
高级
这是一个IT Ops领域的自动化工作流,包含 21 个节点。主要使用 Code, Gmail, Merge, HttpRequest, ScheduleTrigger 等节点。 使用Gecko Coin和Gmail接收比特币、以太坊、Solana、币安数据
前置要求
- •Google 账号和 Gmail API 凭证
- •可能需要目标 API 的认证凭证
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "BCsdsLGIUUBMHe9e",
"meta": {
"instanceId": "ab1720870fab17b6404efbb01504e7256f1d0cefdf84b7d41d963a944f625347",
"templateCredsSetupCompleted": true
},
"name": "使用 Gecko Coin 获取 BTC、ETH、SOL、BNB 的 OHLC 数据并发送",
"tags": [],
"nodes": [
{
"id": "5fbff26f-1a80-4d23-aa3e-52e92648ad6d",
"name": "获取 BITCOIN OHLC",
"type": "n8n-nodes-base.httpRequest",
"position": [
3100,
-260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1bf83dc0-5a66-4e05-a2bd-6ec968e73d7e",
"name": "获取 ETHEREUM OHLC",
"type": "n8n-nodes-base.httpRequest",
"position": [
3100,
-60
],
"parameters": {},
"typeVersion": 1
},
{
"id": "082ba217-80f2-4e2a-862d-d2fcad68119f",
"name": "获取 SOLANA OHLC",
"type": "n8n-nodes-base.httpRequest",
"position": [
3100,
160
],
"parameters": {},
"typeVersion": 1
},
{
"id": "51ee63be-8a58-42af-9226-3a858cbc06b9",
"name": "获取 BINANCECOIN OHLC",
"type": "n8n-nodes-base.httpRequest",
"position": [
3100,
360
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4bde5098-8f2b-4fa2-a05f-9d3714e8826e",
"name": "发送 Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
3740,
700
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ac30db80-f5c5-43bb-afae-4d8017cc363d",
"name": "合并 1 (BTC + ETH)",
"type": "n8n-nodes-base.merge",
"position": [
3760,
-80
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c978a6f1-f09d-4c1c-a6d0-3fc48c621f50",
"name": "合并 2 (+SOL)",
"type": "n8n-nodes-base.merge",
"position": [
3760,
140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0b5ee2b8-4fa6-4781-934b-ec163765d8eb",
"name": "合并 3 (+BNB)",
"type": "n8n-nodes-base.merge",
"position": [
3760,
340
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ebd6c9ed-d137-4dbd-9fcc-c1f2d2d8b4b0",
"name": "计划任务",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
2820,
60
],
"parameters": {},
"typeVersion": 1
},
{
"id": "eca1ff26-0e85-45c3-b85a-babfe3b63fdf",
"name": "便签 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
3020,
-520
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2ffe41ee-ab7c-47e4-8d48-754f3440eaef",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
3300,
-520
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f33d4edb-8fa4-4812-80f0-eef1f089c76f",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
3580,
-520
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "5ad5ca29-9830-4635-b889-1f932e881ed3",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
3580,
540
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3c3dfcb6-25ef-4bf8-912a-4f87828977c0",
"name": "便签 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
2740,
-520
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "eaf6adfe-c862-4f63-88d0-595bc69ab754",
"name": "便签 10",
"type": "n8n-nodes-base.stickyNote",
"position": [
2500,
-520
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d1aeaced-bd53-4ddf-9ffc-5ed2e01cd1d8",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
2500,
920
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0a9d6e86-4636-4294-b21c-5d5f7c2895e2",
"name": "格式化 BTC",
"type": "n8n-nodes-base.code",
"position": [
3400,
-260
],
"parameters": {},
"typeVersion": 2
},
{
"id": "a1721b1d-9945-4f55-945a-b6b0a2db3024",
"name": "格式化 ETH",
"type": "n8n-nodes-base.code",
"position": [
3400,
-60
],
"parameters": {},
"typeVersion": 2
},
{
"id": "92f9c8f7-3667-4f1a-984e-a8ce4375f1fb",
"name": "格式化 SOL",
"type": "n8n-nodes-base.code",
"position": [
3400,
160
],
"parameters": {},
"typeVersion": 2
},
{
"id": "4b262821-0f31-429c-8fc5-3319cf222375",
"name": "格式化 BNB",
"type": "n8n-nodes-base.code",
"position": [
3400,
360
],
"parameters": {},
"typeVersion": 2
},
{
"id": "8a2d7d17-47f7-46d7-b968-91b80a38c5a5",
"name": "合并所有币种",
"type": "n8n-nodes-base.code",
"position": [
3400,
700
],
"parameters": {},
"typeVersion": 2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "116460e7-364d-4ec4-90b9-0235f13c4021",
"connections": {
"Schedule": {
"main": [
[
{
"node": "Get BITCOIN OHLC",
"type": "main",
"index": 0
},
{
"node": "Get ETHEREUM OHLC",
"type": "main",
"index": 0
},
{
"node": "Get SOLANA OHLC",
"type": "main",
"index": 0
},
{
"node": "Get BINANCECOIN OHLC",
"type": "main",
"index": 0
}
]
]
},
"Format BNB": {
"main": [
[
{
"node": "Merge 3 (+BNB)",
"type": "main",
"index": 1
}
]
]
},
"Format BTC": {
"main": [
[
{
"node": "Merge 1 (BTC + ETH)",
"type": "main",
"index": 0
}
]
]
},
"Format ETH": {
"main": [
[
{
"node": "Merge 1 (BTC + ETH)",
"type": "main",
"index": 1
}
]
]
},
"Format SOL": {
"main": [
[
{
"node": "Merge 2 (+SOL)",
"type": "main",
"index": 1
}
]
]
},
"Merge 2 (+SOL)": {
"main": [
[
{
"node": "Merge 3 (+BNB)",
"type": "main",
"index": 0
}
]
]
},
"Merge 3 (+BNB)": {
"main": [
[
{
"node": "Combine All Coins",
"type": "main",
"index": 0
}
]
]
},
"Get SOLANA OHLC": {
"main": [
[
{
"node": "Format SOL",
"type": "main",
"index": 0
}
]
]
},
"Get BITCOIN OHLC": {
"main": [
[
{
"node": "Format BTC",
"type": "main",
"index": 0
}
]
]
},
"Combine All Coins": {
"main": [
[
{
"node": "Send Gmail",
"type": "main",
"index": 0
}
]
]
},
"Get ETHEREUM OHLC": {
"main": [
[
{
"node": "Format ETH",
"type": "main",
"index": 0
}
]
]
},
"Merge 1 (BTC + ETH)": {
"main": [
[
{
"node": "Merge 2 (+SOL)",
"type": "main",
"index": 0
}
]
]
},
"Get BINANCECOIN OHLC": {
"main": [
[
{
"node": "Format BNB",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - IT 运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
SAP业务伙伴(A2X)业务版
使用OpenAI GPT-4o和Gmail报告自动化SAP业务伙伴分析
Code
Gmail
Http Request
+4
18 节点Ghufran Ridhawi
人工智能
使用GPT-4.1、Outlook和Mem.ai自动化Microsoft Teams会议分析
使用GPT-4.1、Outlook和Mem.ai自动化Microsoft Teams会议分析
If
Set
Code
+19
61 节点Wayne Simpson
人力资源
从Google电子表格自动化n8n用户邀请
从Google电子表格自动化n8n用户邀请
Set
Code
Merge
+5
11 节点bangank36
IT 运维
获取4节点 Disqus 与 Gmail 报告
带 Gmail HTML 表格的自动化 Disqus 论坛报告
Code
Gmail
Merge
+3
16 节点Ghufran Ridhawi
营销
Meraki丢包和延迟告警至Microsoft Teams
Meraki丢包和延迟告警推送至Microsoft Teams
Set
Code
Merge
+6
23 节点Gavin
IT 运维
HubSpot 联系人同步(含 LinkedIn URL)、变更检测与 Gmail 提醒
同步 HubSpot 联系人(含 LinkedIn URL),检测变更并发送 Gmail 提醒
If
Set
Code
+11
46 节点PollupAI
销售