Skip to main content

Crypto market alert system with Binance and Telegram integration

Workflow preview

Workflow preview
100%
Crypto market alert system with Binance and Telegram integration preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

An innovative N8N workflow that monitors cryptocurrency prices on Binance, identifies significant market movements, and sends customized alerts through Telegram. Ideal for traders and enthusiasts s...

Best for

  • Crypto Trading automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.telegram, n8n-nodes-base.aggregate, n8n-nodes-base.httprequest, n8n-nodes-base.function, n8n-nodes-base.code, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Nskha.

Original n8n.io source

1.1 Workflow description

Title
Crypto market alert system with Binance and Telegram integration
Workflow name
Crypto market alert system with Binance and Telegram integration

An innovative N8N workflow that monitors cryptocurrency prices on Binance, identifies significant market movements, and sends customized alerts through Telegram. Ideal for traders and enthusiasts seeking real-time market insights.

How It Works

  1. Trigger Options: Choose between a manual trigger or a scheduled trigger to start the workflow.
  2. Fetch Market Data: The 'Binance 24h Price Change' node retrieves the latest 24-hour price changes for cryptocurrencies from Binance.
  3. Identify Significant Changes: The 'Filter by 10% Change rate' node filters out cryptocurrencies with price changes of 10% or more.
  4. Aggregate Data: The 'Aggregate' node combines all significant changes into a single dataset.
  5. Format Data for Telegram: The 'Split By 1K chars' node formats this data into chunks suitable for Telegram's message size limit.
  6. Send Telegram Message: The 'Send Telegram Message' node broadcasts the formatted message to a specified Telegram chat.

Set Up Steps

  • Estimated Time: About 1-5 minutes for setup.

  • Initial Configuration: Set up a Binance API connection (Optional) and your Telegram bot credentials.

  • Customization: Adjust the trigger according to your preference (manual or scheduled) and update the Telegram chat ID.

  • Create Telegram bot steps:- Setting up a Telegram bot and obtaining its token involves several steps. Here's a detailed guide:

  1. Start a Chat with BotFather:

    • Open Telegram and search for "BotFather". This is the official bot that allows you to create new bots.
    • Start a chat with BotFather by clicking on the "Start" button at the bottom of the screen.
  2. Create a New Bot:

    • In the chat with BotFather, type /newbot and send the message.
    • BotFather will ask you to choose a name for your bot. This is a display name and can be anything you like.
    • Next, you'll need to choose a username for your bot. This must be unique and end in bot. For example, my_crypto_alert_bot.
  3. Receive Your Token:

    • After you've set the name and username, BotFather will provide you with a token. This token is like a password for your bot, so keep it secure.
    • The message will look something like this:
      Done! Congratulations on your new bot. You will find it at t.me/my_crypto_alert_bot. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. Use this token to access the HTTP API: 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
      
    • The token in this case is 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11.
  4. Test Your Bot:

    • You can find your bot by searching for its username in Telegram.
    • Start a chat with your bot and try sending it a message. Although it won't respond yet, this step is essential to ensure it's set up correctly.
  5. Use the Token in n8n:

    • In your n8n workflow, when setting up the Telegram node, you'll be prompted to enter credentials.
    • Choose to add new credentials and paste the token you received from BotFather.
  6. Get Your Chat ID:

    • To send messages to a specific chat, you need to know the chat ID.
    • The easiest way to find this is to first message your bot, then use a bot like @userinfobot to get your chat ID.
    • Once you have the chat ID, you can configure it in the Telegram node in your n8n workflow.
  7. Finalize Your Workflow:

    • With the bot token and chat ID set up in n8n, your Telegram notifications should work as intended in your workflow.

Remember, keep your bot token secure and never share it publicly. If your token is compromised, you can always generate a new one by chatting with BotFather and selecting /token.

Example result

Keywords: n8n workflow, cryptocurrency market, Binance API, Telegram bot, price alert system, automated trading signals, market analysis

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.1

Block 2 - Send Telegram Message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1

Block 3 - Aggregate

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 4 - Binance 24h Price Change

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 1

Block 5 - Filter by 10% Change rate

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 6 - Split By 1K chars

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Crypto market alert system with Binance and Telegram integration
Complexity intermediate
Nodes 7
Categories Crypto Trading
Author Nskha
Published 08 Jan 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2043/2043.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Crypto market alert system with Binance and Telegram integration do?

An innovative N8N workflow that monitors cryptocurrency prices on Binance, identifies significant market movements, and sends customized alerts through Telegram. Ideal for traders and enthusiasts s...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading use case.