Alertes de baisse pour le Bitcoin et l'Ethereum (Telegram, Slack et SMS)
Ceci est unCrypto Trading, Miscellaneous, Multimodal AIworkflow d'automatisation du domainecontenant 8 nœuds.Utilise principalement des nœuds comme If, Code, Slack, Twilio, Telegram. Envoyer des alertes de baisse du Bitcoin et de l'Ethereum via Telegram, Slack et SMS
- •Token Bot Slack ou URL Webhook
- •Token Bot Telegram
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
Nœuds utilisés (8)
Catégorie
{
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "951eaf83-d275-4236-8811-a718d480f0d6",
"name": "Toutes les 30 minutes",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
0,
0
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "d67348c4-bc2d-4509-a59f-c4bfcc021ffa",
"name": "Obtenir les prix des cryptomonnaies",
"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": "Vérification de baisse",
"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": "Baisse détectée ?",
"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": "Envoyer 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": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
-464,
-176
],
"parameters": {
"width": 640,
"height": 496,
"content": "## 📉 Buy the Dip Alert (Telegram/Slack/SMS)\n\n**What it does:** \nSends an alert when **BTC/ETH** 24h change falls below your dip threshold (default: **–2.5%**). Helps you catch big red days without watching charts all day.\n\n**Trigger:** \nEvery **30 minutes** (adjust cron as needed).\n\n**Nodes:** \nSchedule → CoinGecko → **Code (check dip %)** → IF → **Telegram/Slack/Twilio**\n\n**How to customize:** \n- Change `DIP` value in **Code node** (default: `-2.5`). \n- Pick your delivery channel (Telegram DM/channel, Slack channel, Twilio SMS). \n- Alert text is auto-formatted with % changes.\n\n**Example Output:** \n“Dip Alert — BTC –3.2%, ETH –2.8%” \n\n**Author:** David Olusola \n**Trading & 1:1 consulting:** [sales@daexai.com](mailto:sales@daexai.com)\n"
},
"typeVersion": 1
},
{
"id": "80a32dd7-a061-43ce-b39e-df649de613a1",
"name": "Envoyer un message",
"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": "Envoyer un SMS/MMS/WhatsApp",
"type": "n8n-nodes-base.twilio",
"position": [
976,
-32
],
"parameters": {
"message": "={{ $json.text }} _Not financial advice._",
"options": {}
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"8000fbce-7429-4b80-8db3-02d1bbf9af7a": {
"main": [
[
{
"node": "80a32dd7-a061-43ce-b39e-df649de613a1",
"type": "main",
"index": 0
},
{
"node": "7b1d6277-0f79-408c-b584-e0009ecf7682",
"type": "main",
"index": 0
},
{
"node": "4d05702b-2246-40cd-9596-f4d70625d891",
"type": "main",
"index": 0
}
]
]
},
"ab4554ee-10d4-473c-8643-a01700417acd": {
"main": [
[
{
"node": "8000fbce-7429-4b80-8db3-02d1bbf9af7a",
"type": "main",
"index": 0
}
]
]
},
"7b1d6277-0f79-408c-b584-e0009ecf7682": {
"main": [
[]
]
},
"80a32dd7-a061-43ce-b39e-df649de613a1": {
"main": [
[]
]
},
"951eaf83-d275-4236-8811-a718d480f0d6": {
"main": [
[
{
"node": "d67348c4-bc2d-4509-a59f-c4bfcc021ffa",
"type": "main",
"index": 0
}
]
]
},
"d67348c4-bc2d-4509-a59f-c4bfcc021ffa": {
"main": [
[
{
"node": "ab4554ee-10d4-473c-8643-a01700417acd",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Intermédiaire - Trading crypto, Divers, IA Multimodale
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
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
Partager ce workflow