See llms.txt for all machine-readable content.

Back to Templates

Send Solana token price alerts with Jupiter and Telegram

Quick overview

This workflow checks a Solana SPL token’s USD price every 5 minutes via the public Jupiter price API and sends a Telegram message when the price crosses a configured threshold (above or below), triggering only once per threshold crossing rather than repeating on every check.

How it works

  1. Runs every 5 minutes on a schedule.
  2. Fetches the current USD price for the configured SPL token mint from the public Jupiter price API, retrying twice on failures.
  3. Evaluates whether the latest price is past the configured threshold (above or below) and compares it to the previous run’s stored state.
  4. Sends a Telegram alert only when the price transitions from not past the threshold to past the threshold.

Setup

  1. Create a Telegram bot with @BotFather, then add the bot token as a Telegram credential in n8n and select it in the Telegram notification step.
  2. Set environment variables for TOKEN_MINT (SPL mint address), PRICE_THRESHOLD (USD), DIRECTION (above or below), and TELEGRAM_CHAT_ID (your destination chat).
  3. Activate the workflow and keep it running so it can store the last threshold state between scheduled checks.