AutomationFlowsSlack & Telegram › Solana Price Alert — Avviso Quando Un Token Rompe Una Soglia

Solana Price Alert — Avviso Quando Un Token Rompe Una Soglia

Solana Price Alert — avviso quando un token rompe una soglia. Uses httpRequest, telegram. Scheduled trigger; 5 nodes.

Cron / scheduled trigger★★★★☆ complexity5 nodesHTTP RequestTelegram
Slack & Telegram Trigger: Cron / scheduled Nodes: 5 Complexity: ★★★★☆ Added:

This workflow follows the HTTP Request → Telegram recipe pattern — see all workflows that pair these two integrations.

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 →

Download .json
{
  "name": "Solana Price Alert \u2014 avviso quando un token rompe una soglia",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 5
            }
          ]
        }
      },
      "id": "trigger-5m",
      "name": "Ogni 5 minuti",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "url": "=https://price.jup.ag/v6/price?ids={{ $env.TOKEN_MINT || 'So11111111111111111111111111111111111111112' }}",
        "options": {
          "timeout": 15000
        }
      },
      "id": "fetch-price",
      "name": "Prezzo attuale (Jupiter)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        220,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "// Avvisa solo al CAMBIO di stato (non-oltre -> oltre soglia), non a ogni giro: niente cooldown da configurare.\nconst mint = $env.TOKEN_MINT || 'So11111111111111111111111111111111111111112';\nconst body = $input.first().json;\nconst voce = (body.data && body.data[mint]) || null;\nif (!voce) return [{ json: { scatta: false, errore: 'prezzo non trovato per ' + mint } }];\nconst prezzo = Number(voce.price);\nconst soglia = Number($env.SOGLIA_PREZZO || 0);\nconst direzione = ($env.DIREZIONE || 'sopra').toLowerCase();\nconst oltre = direzione === 'sotto' ? prezzo <= soglia : prezzo >= soglia;\nconst state = $getWorkflowStaticData('global');\nconst eraOltre = !!state.oltre;\nconst scatta = oltre && !eraOltre;\nstate.oltre = oltre;\nreturn [{ json: { scatta, prezzo, soglia, direzione, mint } }];"
      },
      "id": "valuta-soglia",
      "name": "Valuta cambio soglia",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        440,
        0
      ]
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict"
          },
          "conditions": [
            {
              "leftValue": "={{ $json.scatta }}",
              "rightValue": true,
              "operator": {
                "type": "boolean",
                "operation": "true"
              }
            }
          ],
          "combinator": "and"
        }
      },
      "id": "if-scatta",
      "name": "Deve avvisare?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        660,
        0
      ]
    },
    {
      "parameters": {
        "chatId": "={{ $env.TELEGRAM_CHAT_ID || 'INSERISCI_CHAT_ID' }}",
        "text": "=\ud83d\udcc8 Prezzo token {{ $json.mint }}: {{ $json.prezzo }} USD \u2014 ha rotto la soglia {{ $json.direzione }} {{ $json.soglia }}.",
        "additionalFields": {}
      },
      "id": "notify-telegram",
      "name": "Avvisa su Telegram",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        880,
        0
      ],
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Ogni 5 minuti": {
      "main": [
        [
          {
            "node": "Prezzo attuale (Jupiter)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prezzo attuale (Jupiter)": {
      "main": [
        [
          {
            "node": "Valuta cambio soglia",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Valuta cambio soglia": {
      "main": [
        [
          {
            "node": "Deve avvisare?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Deve avvisare?": {
      "main": [
        [
          {
            "node": "Avvisa su Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "note": "Setup (5 minuti): 1) TOKEN_MINT = indirizzo mint SPL del token da sorvegliare; 2) SOGLIA_PREZZO = il prezzo in USD che fa scattare l'avviso; 3) DIREZIONE = 'sopra' (default) o 'sotto'; 4) crea un bot Telegram con @BotFather e collega la credenziale al nodo 'Avvisa su Telegram'; 5) TELEGRAM_CHAT_ID = il tuo chat_id; 6) attiva. Avvisa solo al cambio di stato (non-oltre -> oltre soglia), non ripete a ogni giro finch\u00e9 resta oltre: nessun cooldown da configurare. Usa l'API pubblica Jupiter, nessuna chiave richiesta."
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Solana Price Alert — avviso quando un token rompe una soglia. Uses httpRequest, telegram. Scheduled trigger; 5 nodes.

Source: https://github.com/DeusAcc/n8n-solana-price-alert/blob/main/solana-price-alert.json — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

⚠️ Heads up: this is satire. The "Hell Yeah!" workflow is a parody of "automate your whole life with AI agents" grindset content. The API endpoints are fictional and the function nodes are illustrativ

HTTP Request, Salesforce, Telegram +4
Slack & Telegram

This workflow tracks a configurable crypto watchlist using the CoinGecko API, sends Telegram alerts when price, % change, or volume-spike conditions are met (with optional RSI filtering), optionally l

HTTP Request, Telegram, Google Sheets +1
Slack & Telegram

This workflow continuously monitors the Meta Ads Library for new creatives from a specific competitor pages, logs them into Google Sheets, and sends a concise Telegram notification with the number of

HTTP Request, Telegram, Google Sheets +1
Slack & Telegram

This n8n workflow template is designed to provide real-time alerts on new cryptocurrency exchange listings and delistings. It caters especially to crypto traders, investors, and enthusiasts who want t

Supabase, HTTP Request, Telegram +2
Slack & Telegram

&gt; n8n, Binance API, Google Sheets, Slack, Telegram, Jira & Email

HTTP Request, Google Sheets, Slack +3