n8nflow.net logo

Monitor Bitcoin & Ethereum Prices with CoinGecko Alerts via Email/SMS

by David Olusolaβ€’Updated: Last update 23 days agoβ€’Source: n8n.io

Getting Started

⚠️ Crypto Price Threshold Alerts (Email/SMS/Telegram)

πŸ“Œ Overview

This workflow monitors Bitcoin (BTC) and Ethereum (ETH) prices in real-time using CoinGecko’s public API. It sends you an instant alert when a price crosses a custom threshold or when the 24-hour change moves beyond your defined % range.

Perfect for traders who want automated price pings without constantly checking charts.


βš™οΈ How it works

  1. Schedule Trigger β€” runs every 10–15 minutes (configurable cron).
  2. HTTP Request (CoinGecko) β€” fetches live BTC/ETH prices + 24h % changes.
  3. Code Node β€” compares values against your target thresholds.
  4. IF Node β€” checks if any condition is true (cross up/down or big move).
  5. Notification Node β€” sends alert via Email, SMS (Twilio), or Telegram.

Example Output:

β€œBTC broke $110,000 (+2.1% 24h)”


πŸ›  Setup Guide

  1. Set your thresholds in the Code node :

    • BTC_UP / BTC_DOWN
    • ETH_UP / ETH_DOWN
    • MOVE_ABS (absolute % change to trigger)
  2. Choose delivery channel :

    • Email Node β†’ SMTP (Gmail, Outlook, etc.)
    • Twilio Node β†’ SMS alerts
    • Telegram Node β†’ DM or channel alerts
  3. Test Run :

    • Execute once from the Code node.
    • If thresholds are crossed, you’ll see a formatted alert payload.

πŸŽ› Customization

  • Adjust interval in the Schedule Trigger (default: every 15m).
  • Add more cryptos by editing the CoinGecko API call.
  • Use Slack or Discord instead of Email/Telegram for team alerts.
  • Store last triggered state in Google Sheets/DB to avoid repeated pings.

πŸ‘€ Author

David Olusola
For traning automation & 1:1 consulting: [email protected]