比特币和以太坊加密货币下跌警报(Telegram、Slack 和 SMS)
中级
这是一个Crypto Trading, Miscellaneous, Multimodal AI领域的自动化工作流,包含 8 个节点。主要使用 If, Code, Slack, Twilio, Telegram 等节点。 通过 Telegram、Slack 和 SMS 发送比特币和以太坊加密货币下跌警报
前置要求
- •Slack Bot Token 或 Webhook URL
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "951eaf83-d275-4236-8811-a718d480f0d6",
"name": "每30分钟",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
0,
0
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "d67348c4-bc2d-4509-a59f-c4bfcc021ffa",
"name": "获取加密货币价格",
"type": "n8n-nodes-base.httpRequest",
"position": [
208,
0
],
"parameters": {
"url": "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum&vs_currencies=usd&include_24hr_change=true",
"options": {}
},
"typeVersion": 4.1
},
{
"id": "ab4554ee-10d4-473c-8643-a01700417acd",
"name": "Dip Check",
"type": "n8n-nodes-base.code",
"position": [
400,
0
],
"parameters": {
"jsCode": "const DIP=-2.5; // alert if 24h drop is <= -2.5%\nconst j=$json; const btc=Number(j.bitcoin?.usd_24h_change), eth=Number(j.ethereum?.usd_24h_change);\nreturn [{json:{\n dip: (isFinite(btc)&&btc<=DIP) || (isFinite(eth)&ð<=DIP),\n text:`Dip Alert — BTC ${btc?.toFixed?.(2)}%, ETH ${eth?.toFixed?.(2)}%`\n}}];"
},
"typeVersion": 2
},
{
"id": "8000fbce-7429-4b80-8db3-02d1bbf9af7a",
"name": "Is Dip?",
"type": "n8n-nodes-base.if",
"position": [
592,
0
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 1,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "8381a709-5104-40bc-bf81-b4c37dcce05c",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "",
"rightValue": ""
}
]
}
},
"typeVersion": 2
},
{
"id": "7b1d6277-0f79-408c-b584-e0009ecf7682",
"name": "发送 Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
944,
96
],
"webhookId": "ee6fdc04-32a4-4f7f-925b-c4c4939d2e2c",
"parameters": {
"text": "={{ $json.text }}\n_Not financial advice._",
"chatId": "@your_channel_or_chatid",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "z5KZFRpyGmxhASqz",
"name": "zmeena2"
}
},
"typeVersion": 1
},
{
"id": "5db76eac-660a-4610-b8ad-11d0b386f8c6",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-464,
-176
],
"parameters": {
"width": 640,
"height": 496,
"content": "## 📉 买入下跌警报 (Telegram/Slack/SMS)"
},
"typeVersion": 1
},
{
"id": "80a32dd7-a061-43ce-b39e-df649de613a1",
"name": "发送消息",
"type": "n8n-nodes-base.slack",
"position": [
944,
-192
],
"webhookId": "2c9274fd-cc04-4ebb-a2e6-d0dfb1a606d2",
"parameters": {
"text": "={{ $json.text }} _Not financial advice._",
"otherOptions": {},
"authentication": "oAuth2"
},
"credentials": {
"slackOAuth2Api": {
"id": "rCOUwK3276xqTfQi",
"name": "Slack account"
}
},
"typeVersion": 2.3
},
{
"id": "4d05702b-2246-40cd-9596-f4d70625d891",
"name": "发送 SMS/MMS/WhatsApp 消息",
"type": "n8n-nodes-base.twilio",
"position": [
976,
-32
],
"parameters": {
"message": "={{ $json.text }} _Not financial advice._",
"options": {}
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Is Dip?": {
"main": [
[
{
"node": "Send a message",
"type": "main",
"index": 0
},
{
"node": "Send Telegram",
"type": "main",
"index": 0
},
{
"node": "Send an SMS/MMS/WhatsApp message",
"type": "main",
"index": 0
}
]
]
},
"Dip Check": {
"main": [
[
{
"node": "Is Dip?",
"type": "main",
"index": 0
}
]
]
},
"Send Telegram": {
"main": [
[]
]
},
"Send a message": {
"main": [
[]
]
},
"Every 30 Minutes": {
"main": [
[
{
"node": "Get Crypto Prices",
"type": "main",
"index": 0
}
]
]
},
"Get Crypto Prices": {
"main": [
[
{
"node": "Dip Check",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 加密货币交易, 杂项, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 CoinGecko 通过邮件/SMS 监控比特币和以太坊价格告警
使用 CoinGecko 通过邮件/SMS 监控比特币和以太坊价格告警
If
Code
Gmail
+4
8 节点David Olusola
加密货币交易
使用CoinGecko和ExchangeRate-API创建BTC-ETH价格和美元汇率API
使用CoinGecko和ExchangeRate-API创建BTC/ETH价格和美元汇率API
Code
Merge
Webhook
+3
7 节点David Olusola
加密货币交易
使用 CoinGecko 和 ExchangeRate-API 跟踪加密货币价格和汇率至 Notion
使用 CoinGecko 和 ExchangeRate-API 跟踪加密货币价格和汇率至 Notion
Code
Merge
Notion
+3
7 节点David Olusola
杂项
Telegram论坛脉搏:使用Gemini和Groq AI模型的社区监控
Telegram论坛脉搏:使用Gemini和Groq AI模型的社区监控
If
Set
Code
+13
59 节点Nguyen Thieu Toan
杂项
使用 Gemini、Tavily 和人工审核生成 SEO 优化 WordPress 博客
使用 Gemini、Tavily 和人工审核生成 SEO 优化 WordPress 博客
If
Set
Code
+12
38 节点Aryan Shinde
内容创作
股票分析模板
结合技术分析、AI和Telegram发布生成股票市场洞察
If
Set
Code
+12
25 节点Sergey Skorobogatov
加密货币交易
工作流信息
难度等级
中级
节点数量8
分类3
节点类型8
作者
David Olusola
@dae221I help ambitious businesses eliminate operational bottlenecks and scale faster with AI automation. My clients typically see 40-60% efficiency gains within 90 days. Currently accepting 3 new projects this quarter - david@daexai.com
外部链接
在 n8n.io 查看 →
分享此工作流