CoinGecko热门币种
中级
这是一个Crypto Trading, Miscellaneous, Multimodal AI领域的自动化工作流,包含 6 个节点。主要使用 Function, Telegram, HttpRequest, ManualTrigger, ScheduleTrigger 等节点。 从CoinGecko自动推送热门加密货币更新到Telegram
前置要求
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "Vdw4Tf8R4PjaKrhY",
"meta": {
"instanceId": "db60d439c83d53c32b922f047b39f4dfd87d30483d18b101da16c1b43157d254",
"templateCredsSetupCompleted": true
},
"name": "coingecko-trending-coins",
"tags": [
{
"id": "YMlfkDxBLu4w294M",
"name": "Social Media",
"createdAt": "2025-05-29T13:15:57.213Z",
"updatedAt": "2025-05-29T13:15:57.213Z"
},
{
"id": "xx3Xp0KGbSjwly9W",
"name": "TG",
"createdAt": "2025-06-03T13:18:11.584Z",
"updatedAt": "2025-06-03T13:18:11.584Z"
}
],
"nodes": [
{
"id": "68e021b1-94d0-4eec-ba61-5639634e0e57",
"name": "获取热门趋势",
"type": "n8n-nodes-base.httpRequest",
"position": [
-48,
48
],
"parameters": {
"url": "https://api.coingecko.com/api/v3/search/trending",
"options": {}
},
"typeVersion": 1
},
{
"id": "c0d4528a-fbe8-4da1-81a9-a3f3d6777ea8",
"name": "格式化消息",
"type": "n8n-nodes-base.function",
"position": [
192,
48
],
"parameters": {
"functionCode": "const trending = items[0].json.coins;\nlet message = \"🔥 Trending Crypto Searches on CoinGecko:\\n\\n\";\n\ntrending.forEach((coin, index) => {\n const item = coin.item;\n const name = item.name;\n const symbol = item.symbol.toUpperCase();\n const marketCapRank = item.market_cap_rank || 'N/A';\n const price = item.data && item.data.price ? `$${item.data.price.toFixed(4)}` : 'N/A';\n\n message += `${index + 1}. ${name} (${symbol}) - Price: ${price} - Market Cap Rank: ${marketCapRank}\\n`;\n});\n\nreturn [{ json: { message } }];\n"
},
"typeVersion": 1
},
{
"id": "7165e409-6d78-4b1e-b8ea-27f5554ec021",
"name": "发送 Telegram 消息",
"type": "n8n-nodes-base.telegram",
"position": [
416,
48
],
"webhookId": "08c9ac49-d2f0-4dee-bb0b-da445d3aa9a7",
"parameters": {
"text": "={{$json[\"message\"]}}",
"chatId": "<CHAT-ID>",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "VpqUd2VckywG6ivm",
"name": "TG-CC-Cryptofind"
}
},
"typeVersion": 1
},
{
"id": "156b6ef3-dd60-4c21-8d0c-a981c975f9d2",
"name": "当点击\"执行工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-256,
144
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ff49644d-78c9-483a-9f6d-9b8f44d7697c",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-720,
-288
],
"parameters": {
"width": 416,
"height": 908,
"content": "**此工作流从 CoinGecko 获取最新的热门加密货币搜索数据,并自动发送到您的 Telegram 群组/频道。**"
},
"typeVersion": 1
},
{
"id": "fe43a733-c51a-4dd4-96e3-b67a96aceb12",
"name": "印度标准时间上午 8:30/晚上 8:30",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-256,
-64
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 20,
"triggerAtMinute": 30
},
{
"triggerAtHour": 8,
"triggerAtMinute": 30
}
]
}
},
"typeVersion": 1.2
}
],
"active": false,
"pinData": {},
"settings": {
"timezone": "Asia/Kolkata",
"callerPolicy": "workflowsFromSameOwner",
"executionOrder": "v1"
},
"versionId": "ff2882ce-33d1-4862-a61a-2d65863a96f6",
"connections": {
"Get Trending": {
"main": [
[
{
"node": "Format Message",
"type": "main",
"index": 0
}
]
]
},
"8:30 AM/PM IST": {
"main": [
[
{
"node": "Get Trending",
"type": "main",
"index": 0
}
]
]
},
"Format Message": {
"main": [
[
{
"node": "Send Telegram Message",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "Get Trending",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 加密货币交易, 杂项, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
比特币和以太坊加密货币下跌警报(Telegram、Slack 和 SMS)
通过 Telegram、Slack 和 SMS 发送比特币和以太坊加密货币下跌警报
If
Code
Slack
+5
8 节点David Olusola
加密货币交易
使用Gemini AI视觉分析与Telegram警报监控X平台品牌提及
使用Gemini AI视觉分析与Telegram警报监控X平台品牌提及
If
Set
Code
+13
24 节点Atta
杂项
使用 CoinGecko 通过邮件/SMS 监控比特币和以太坊价格告警
使用 CoinGecko 通过邮件/SMS 监控比特币和以太坊价格告警
If
Code
Gmail
+4
8 节点David Olusola
加密货币交易
自动化B2B潜在客户生成:Google Places、Scrape.do与AI数据增强
自动化B2B潜在客户生成:Google Places、Scrape.do与AI数据增强
If
Set
Html
+9
19 节点Onur
杂项
Uniswap V3 区间交易者(第二版)
使用 Uniswap V3、Telegram 提醒和 MetaMask 委托的自动化区间交易
If
Code
Switch
+6
41 节点1Shot API
杂项
加密货币市场分析与Chart-img、BrowserAI和GPT洞察发送到Telegram
使用Chart-img、BrowserAI和GPT洞察的加密货币市场分析发送到Telegram
Code
Wait
Merge
+8
34 节点Alex Gurinovich
杂项