fix: use proper n8n expression syntax for Telegram message

This commit is contained in:
mindesbunister
2025-10-27 00:25:19 +01:00
parent 3e2cf2eec2
commit 80f16015f6

View File

@@ -259,7 +259,7 @@
{
"parameters": {
"chatId": "579304651",
"text": "🟢 TRADE OPENED\n\n📊 Symbol: {{ $('Parse Signal').item.json.symbol }}\n{{ $('Parse Signal').item.json.direction === 'long' ? '📈' : '📉' }} Direction: {{ $('Parse Signal').item.json.direction.toUpperCase() }}\n⏰ Time: {{ $now.toFormat('HH:mm:ss') }}\n\n✅ Position is being monitored",
"text": "={{ '🟢 TRADE OPENED\\n\\n📊 Symbol: ' + $('Parse Signal').item.json.symbol + '\\n' + ($('Parse Signal').item.json.direction === 'long' ? '📈' : '📉') + ' Direction: ' + $('Parse Signal').item.json.direction.toUpperCase() + '\\n⏰ Time: ' + $now.toFormat('HH:mm:ss') + '\\n\\n✅ Position is being monitored' }}",
"additionalFields": {
"appendAttribution": false
}