Crypto Price Threshold Alert System using CoinGecko and Discord - n8n Workflow

Use this dynamic n8n workflow to automatically monitor cryptocurrency prices via CoinGecko. Get instant alerts on Discord when high or low price thresholds are crossed. Perfect for real-time market tracking.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Cryptocurrency Traders: Users who need immediate, automated alerts when key price levels are breached.
Market Analysts: Individuals requiring passive monitoring of crypto assets without constant manual checking.
n8n Users: Those seeking advanced examples of conditional logic (If n8n node) and API integration in n8n templates.
Discord Community Managers: Anyone wanting to pipe real-time crypto data alerts directly into a Discord channel or server.

Overview

Manually tracking volatile cryptocurrency markets is time-consuming and prone to human error. This comprehensive n8n workflow eliminates the need for constant vigilance by automating the monitoring process entirely. It leverages the CoinGecko API to fetch real-time market data and uses powerful core logic flow control to check if the current price exceeds user-defined high or low thresholds. If a threshold is crossed, the n8n node for Discord instantly dispatches a customized alert. This efficient system is an excellent example of utilizing n8n to provide valuable, timely market intelligence, turning a tedious monitoring task into a hands-free operation. This specific n8n workflow is designed for scalability and reliability, ensuring you never miss a critical price movement.

How it Works

This automation starts with an n8n trigger, either a Manual Trigger for testing or a Schedule Trigger set to run frequently (e.g., every minute) to ensure timely data checks.


  1. Data Fetching: The process begins with the CoinGecko n8n node, which queries the API to retrieve the current price data for a specified cryptocurrency (default is Bitcoin).

  2. Define Limits: The 'Set Low and High' n8n node injects user-defined price targets (e.g., $100,500 High, $100,000 Low) into the workflow data stream.

  3. Threshold Check: The first 'Check movement' If n8n node evaluates if the current price (from CoinGecko) is outside the defined range (either greater than the high limit OR less than the low limit). If the price is within the acceptable range, the n8n workflow stops.

  4. Direction Check: If a movement is detected, the second 'Check Direction' If n8n node determines if the price crossed the high threshold. This logic elegantly separates the outcomes.

  5. Alert Dispatch: If the price is high, the 'Message High' Discord n8n node sends a positive alert. If the price is low, the workflow falls through the second If n8n node and executes the 'Message Low' Discord n8n node, sending a cautionary alert. Both Discord n8n node instances utilize embedded data from the previous steps to provide a dynamic price report.

Installation Guide

To deploy this powerful automated n8n workflow, follow these setup steps:


  1. Import: Copy the provided n8n workflow JSON data and paste it into your n8n instance via the 'New' menu -> 'Import from JSON'.

  2. Credentials: You must configure the Discord credentials. Create a new Discord Bot API credential and connect it to both the 'Message High' and 'Message Low' Discord n8n node instances.

  3. Customize Coin and Price: Open the 'CoinGecko' n8n node and select the cryptocurrency you wish to monitor (defaults to Bitcoin).

  4. Customize Thresholds: Edit the 'Set Low and High' n8n node. Update the high and low number values to reflect your desired alert thresholds.

  5. Discord Channel IDs: In both Discord n8n node instances, ensure you replace the placeholder [SELECT YOUR CHANEL] with the actual Guild ID and Channel ID where you want the price alerts to appear.

  6. Activate: Set the Schedule Trigger n8n node to your desired interval and activate the entire n8n workflow. You now have a complete monitoring system.

Node Details

This n8n workflow utilizes several key nodes for its functionality:

Schedule Trigger n8n trigger: Initiates the workflow run on a recurring schedule (default is every minute). Essential for continuous monitoring of market data.
CoinGecko n8n node: Fetches current market data. Key configuration includes setting the ids to the cryptocurrency slug (e.g., bitcoin) and baseCurrency (e.g., usd).
Set Low and High n8n node (Set node): A core logic n8n node used to define static variables within the workflow context. Crucially sets the high and low price thresholds that the automation checks against.
Check movement n8n node (If node): The primary conditional check. It uses an OR condition to see if the current price is greater than high OR less than low. It controls whether an alert should be sent at all.
Check Direction n8n node (If node): A nested conditional n8n node that checks if the current price exceeds the high threshold. This determines the alert type (High Alert or Low Alert).
Message High/Low n8n node (Discord node): The final action node. It connects to Discord using specific credentials and channel IDs to send a formatted alert message when a price threshold is breached. This ensures immediate notification via this n8n template.

Related n8n Workflows

Free

Nodes: 7 Nodes
Updated: December 26 2025
View all
Created by

AI Automation Expert | Web & Mobile App Integrator With 2+ years of experience, I build smart automations, web & mobile app workflows, and scalable platforms using tools like n8n, Make, and more. I help businesses reduce operational costs, save time, and scale faster with AI-powered solutions. For business enquiries, send me an email at [email protected]

Featured*