API を通じて毎日の複数通貨レートの更新をメールおよび WhatsApp に送信
これはCrypto Trading分野の自動化ワークフローで、15個のノードを含みます。主にSet, Wait, WhatsApp, EmailSend, HttpRequestなどのノードを使用。 CurrencyFreaks APIから毎日の為替レートをメールとWhatsAppに送信
- •ターゲットAPIの認証情報が必要な場合あり
カテゴリー
{
"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": "デイリートリガー (IST 午前7時30分)",
"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": "設定: API キーと通貨",
"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": "為替レート取得 (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": "API 応答待機 (5秒)",
"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": "メールおよび 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": "メッセージ件名と本文作成",
"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": "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": "メールアラート送信",
"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": "付箋",
"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": "付箋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": "付箋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": "付箋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": "付箋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": "付箋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": "付箋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
}
]
]
}
}
}このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - 仮想通貨取引
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
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.
このワークフローを共有