n8n Guides
n8nsolanacryptofree

How to watch a Solana mint or program with n8n

Who this is for: anyone following an SPL token, a contract, or a treasury on Solana who wants to know right away when a new transaction arrives, without keeping a dashboard open or paying for a separate alert service.

What the workflow does

Every 10 minutes n8n queries a public Solana RPC for the SPL mint or program ID you specify, compares transactions against the ones already seen, and alerts on Telegram only for the genuinely new ones. No API key required, no external database: state lives in the workflow's internal storage.

Procedure

  1. Download the workflow from the n8n-solana-mint-monitor repository (file solana-mint-monitor.json).
  2. In n8n: Workflows → Import from File and pick the downloaded file.
  3. Set the environment variable MINT_O_PROGRAMMA to the SPL mint address or program ID to watch.
  4. Create a Telegram bot (talk to @BotFather, /newbot, copy the token) and connect the telegramApi credential in the "Avvisa su Telegram" node.
  5. Put your Telegram chat_id in the TELEGRAM_CHAT_ID environment variable and activate the workflow.

How it works under the hood

The first run only saves the baseline (no spam of the entire history); from the second run onward it compares transaction signatures against the ones already saved in $getWorkflowStaticData, so state survives n8n restarts with no external database needed.