Envoi de mises à jour quotidiennes des taux de change multi-devises par e-mail et WhatsApp via API
Ceci est unCrypto Tradingworkflow d'automatisation du domainecontenant 15 nœuds.Utilise principalement des nœuds comme Set, Wait, WhatsApp, EmailSend, HttpRequest. Envoi de taux de change quotidiens de CurrencyFreaks API par e-mail et WhatsApp
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
Nœuds utilisés (15)
Catégorie
{
"id": "5EnZkZXpxy95JiaU",
"meta": {
"instanceId": "dd69efaf8212c74ad206700d104739d3329588a6f3f8381a46a481f34c9cc281",
"templateCredsSetupCompleted": true
},
"name": "Deliver Daily Multi-Currency Exchange Updates via API to Email & WhatsApp",
"tags": [],
"nodes": [
{
"id": "0121e662-72d7-46c6-a3e2-41e3fd94de11",
"name": "Déclencheur quotidien (7:30 IST)",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-280,
180
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 7,
"triggerAtMinute": 30
}
]
}
},
"typeVersion": 1.2
},
{
"id": "993ff9e7-0958-4b2e-b578-1f4d78e052f8",
"name": "Configuration : Clé API & Devises",
"type": "n8n-nodes-base.set",
"position": [
-60,
180
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "4669b111-8540-4de2-a5f7-672f2ad81e98",
"name": "API",
"type": "string",
"value": "Enter_your_api_key"
},
{
"id": "58c89ccb-2e3d-4334-9366-d0b285fdfbd8",
"name": "Currencies",
"type": "string",
"value": "INR,CAD,AUD,CNY,EUR,USD"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "3c0cb008-daa7-4832-a1f3-f093b0201d6b",
"name": "Récupération des taux de change (CurrencyFreaks)",
"type": "n8n-nodes-base.httpRequest",
"position": [
160,
180
],
"parameters": {
"url": "=https://api.currencyfreaks.com/v2.0/rates/latest?apikey={{ $json['API Key'] }}&symbols={{ $json['Currencies'] }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "249dde1c-95b4-480c-91ab-90651ed6a6a9",
"name": "Attente réponse API (5s)",
"type": "n8n-nodes-base.wait",
"position": [
380,
180
],
"webhookId": "fba78dc5-c55b-47de-85fd-a0c0c6498444",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "9f860161-dda0-4351-9ce4-ce02204cef32",
"name": "Configuration destinataires e-mail & WhatsApp",
"type": "n8n-nodes-base.set",
"position": [
600,
180
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "0b0969ab-45d1-427c-bac0-bd59a43661d7",
"name": "Email_id",
"type": "string",
"value": "abc@gmail.com"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "51a13f97-7ba1-465d-9dc2-701fb932c64c",
"name": "Création objet et corps du message",
"type": "n8n-nodes-base.set",
"position": [
820,
180
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "ad95bad5-c4ac-4864-a83c-06d59d99b415",
"name": "Subject",
"type": "string",
"value": "Today's Currency Exchange Rates"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "d669298c-ada6-4a7d-a2c9-b45712db0872",
"name": "Envoi alerte WhatsApp",
"type": "n8n-nodes-base.whatsApp",
"position": [
1040,
280
],
"webhookId": "f6576fdd-1b46-4617-ae60-31c4636c38fd",
"parameters": {
"textBody": "📈 Today's Currency Exchange Rates – {{ $('Fetch Exchange Rates (CurrencyFreaks)').item.json.data }} Base: INR USD: {{rate}} EUR: {{rate}} CAD: {{rate}} AUD: {{rate}} CNY: {{rate}} — Auto-sent by FX Update Bot",
"operation": "send",
"phoneNumberId": "=+919994448855",
"additionalFields": {},
"recipientPhoneNumber": "+919876567854"
},
"credentials": {
"whatsAppApi": {
"id": "b0PxTDPdWzznWnfG",
"name": "WhatsApp-test "
}
},
"typeVersion": 1
},
{
"id": "1c770554-e541-4905-8a0a-eb21610faf23",
"name": "Envoi alerte e-mail",
"type": "n8n-nodes-base.emailSend",
"position": [
1040,
80
],
"webhookId": "d0c3ff03-3c95-4d34-b6a2-1c8594fb080b",
"parameters": {
"text": "=📈 Today's Currency Exchange Rates – {{ $('Fetch Exchange Rates (CurrencyFreaks)').item.json.data }}\n\nBase: INR\n\nUSD: {{rate}}\nEUR: {{rate}}\nCAD: {{rate}}\nAUD: {{rate}}\nCNY: {{rate}}\n\n— Auto-sent by FX Update Bot\n",
"options": {},
"subject": "={{ $('Create Message Subject & Body').item.json.Subject }}",
"toEmail": "={{ $('Set Email & WhatsApp Recipients').item.json.Email_id }}",
"fromEmail": "xyz@gmail.com",
"emailFormat": "text"
},
"credentials": {
"smtp": {
"id": "G1kyF8cSWTZ4vouN",
"name": "SMTP -test"
}
},
"typeVersion": 2.1
},
{
"id": "3b5b384c-884d-4e0b-99eb-f0b7ea5deef0",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
-320,
0
],
"parameters": {
"width": 180,
"height": 340,
"content": "Triggers the workflow every day at a fixed time (e.g., 7 AM IST) to fetch and send updated exchange rates."
},
"typeVersion": 1
},
{
"id": "761c84ed-715e-47e0-afb4-d24473808431",
"name": "Note adhésive 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-100,
0
],
"parameters": {
"color": 4,
"width": 180,
"height": 340,
"content": "Define your API key and target currencies (INR, CAD, AUD, CNY, EUR, USD) in a manual node for use in the API call."
},
"typeVersion": 1
},
{
"id": "c09a6a8a-878c-4372-9441-4c4baca49a82",
"name": "Note adhésive 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
120,
0
],
"parameters": {
"color": 3,
"width": 180,
"height": 340,
"content": "Calls the exchange rate API using your API key and fetches the latest currency rates with INR as the base."
},
"typeVersion": 1
},
{
"id": "0d97f12f-5fae-4bc4-a01e-b30438b6140d",
"name": "Note adhésive 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
340,
0
],
"parameters": {
"color": 5,
"width": 180,
"height": 340,
"content": "Adds a short delay to ensure API rate limits are respected and system stability is maintained."
},
"typeVersion": 1
},
{
"id": "64caf21b-c1ee-4e7c-a798-a8a9178b89fc",
"name": "Note adhésive 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
0
],
"parameters": {
"width": 180,
"height": 340,
"content": "Set the list of email addresses and WhatsApp numbers who should receive the currency update."
},
"typeVersion": 1
},
{
"id": "e562a8fb-b41b-4d7f-8c23-c7bffb596410",
"name": "Note adhésive 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
780,
0
],
"parameters": {
"color": 6,
"width": 180,
"height": 340,
"content": "Dynamically generate a subject line (e.g., “Today's Currency Exchange Rates – {{Date}}”) and the text body containing all rates."
},
"typeVersion": 1
},
{
"id": "41ac52db-46d3-4d7f-86d3-709ee41fc6f1",
"name": "Note adhésive 6",
"type": "n8n-nodes-base.stickyNote",
"position": [
1000,
-120
],
"parameters": {
"color": 3,
"width": 180,
"height": 600,
"content": "Sends the formatted currency rate update via Email and WhatsApp "
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "01ad1e77-4366-41bc-a9b6-43551d7e9a83",
"connections": {
"249dde1c-95b4-480c-91ab-90651ed6a6a9": {
"main": [
[
{
"node": "9f860161-dda0-4351-9ce4-ce02204cef32",
"type": "main",
"index": 0
}
]
]
},
"0121e662-72d7-46c6-a3e2-41e3fd94de11": {
"main": [
[
{
"node": "993ff9e7-0958-4b2e-b578-1f4d78e052f8",
"type": "main",
"index": 0
}
]
]
},
"51a13f97-7ba1-465d-9dc2-701fb932c64c": {
"main": [
[
{
"node": "d669298c-ada6-4a7d-a2c9-b45712db0872",
"type": "main",
"index": 0
},
{
"node": "1c770554-e541-4905-8a0a-eb21610faf23",
"type": "main",
"index": 0
}
]
]
},
"9f860161-dda0-4351-9ce4-ce02204cef32": {
"main": [
[
{
"node": "51a13f97-7ba1-465d-9dc2-701fb932c64c",
"type": "main",
"index": 0
}
]
]
},
"993ff9e7-0958-4b2e-b578-1f4d78e052f8": {
"main": [
[
{
"node": "3c0cb008-daa7-4832-a1f3-f093b0201d6b",
"type": "main",
"index": 0
}
]
]
},
"3c0cb008-daa7-4832-a1f3-f093b0201d6b": {
"main": [
[
{
"node": "249dde1c-95b4-480c-91ab-90651ed6a6a9",
"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
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
Oneclick AI Squad
@oneclick-aiThe AI Squad Initiative is a pioneering effort to build, automate and scale AI-powered workflows using n8n.io. Our mission is to help individuals and businesses integrate AI agents seamlessly into their daily operations from automating tasks and enhancing productivity to creating innovative, intelligent solutions. We design modular, reusable AI workflow templates that empower creators, developers and teams to supercharge their automation with minimal effort and maximum impact.
Partager ce workflow