The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "6",
"name": "WF-05: Trade Alert (Webhook from Strategy Engine)",
"nodes": [
{
"parameters": {
"path": "signal-generated",
"httpMethod": "POST",
"responseMode": "onReceived"
},
"id": "webhook-1",
"name": "Signal Generated Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
0,
0
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{ $json.signal }}",
"operation": "isNotEmpty"
}
]
}
},
"id": "if-1",
"name": "Has Signal?",
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
220,
0
]
},
{
"parameters": {
"rules": {
"rules": [
{
"value": "BUY",
"output": 0
},
{
"value": "SELL",
"output": 1
}
],
"fallbackOutput": 2
},
"dataPropertyName": "={{ $json.signal }}"
},
"id": "switch-1",
"name": "Signal Type Switch",
"type": "n8n-nodes-base.switch",
"typeVersion": 3,
"position": [
440,
0
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.telegram.org/bot<YOUR_BOT_TOKEN>/sendMessage",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\"chat_id\": \"<YOUR_CHAT_ID>\", \"text\": \"\ud83d\udfe2 BUY {{ $json.stock_code }} (\uac15\ub3c4: {{ Math.round($json.strength * 100) }}%, \uc810\uc218: {{ $json.score }})\", \"parse_mode\": \"HTML\"}",
"options": {}
},
"id": "telegram-buy",
"name": "Telegram BUY Alert",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
660,
-100
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.telegram.org/bot<YOUR_BOT_TOKEN>/sendMessage",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\"chat_id\": \"<YOUR_CHAT_ID>\", \"text\": \"\ud83d\udd34 SELL {{ $json.stock_code }} (\uac15\ub3c4: {{ Math.round($json.strength * 100) }}%, \uc810\uc218: {{ $json.score }})\", \"parse_mode\": \"HTML\"}",
"options": {}
},
"id": "telegram-sell",
"name": "Telegram SELL Alert",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
660,
100
]
},
{
"parameters": {
"method": "POST",
"url": "http://core-engine:8000/alert/scan",
"options": {
"timeout": 30000
}
},
"id": "http-scan",
"name": "Periodic Market Scan",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
660,
300
]
},
{
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 10
}
]
}
},
"id": "schedule-1",
"name": "Every 10 Minutes (backup)",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
440,
300
]
}
],
"connections": {
"Signal Generated Webhook": {
"main": [
[
{
"node": "Has Signal?",
"type": "main",
"index": 0
}
]
]
},
"Has Signal?": {
"main": [
[
{
"node": "Signal Type Switch",
"type": "main",
"index": 0
}
]
]
},
"Signal Type Switch": {
"main": [
[
{
"node": "Telegram BUY Alert",
"type": "main",
"index": 0
}
],
[
{
"node": "Telegram SELL Alert",
"type": "main",
"index": 0
}
]
]
},
"Every 10 Minutes (backup)": {
"main": [
[
{
"node": "Periodic Market Scan",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
WF-05: Trade Alert (Webhook from Strategy Engine). Uses httpRequest. Webhook trigger; 7 nodes.
Source: https://github.com/digitect38/alphatrade/blob/e2d51083d6353811cfa69d58f6f62e7080d33a9b/n8n-workflows/WF-05-market-alert.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This template is designed for developers, businesses, and service providers who need to programmatically check Calendly availability. It's perfect for: Web developers building custom booking interface
Never lose a prospect to a missed call again. This workflow sends an automatic "sorry we missed you" SMS within seconds, follows up 2 hours later if there's no reply, and enrolls unresponsive contacts
Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.
Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.
Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.