Hourly Crypto Market Summary Using n8n and Binance API

This workflow automates the hourly retrieval and analysis of 24h price changes for BTC, ETH, and SOL from Binance. It then sends a detailed, formatted market summary to Telegram, streamlining crypto market monitoring.
scheduleTrigger
httpRequest
function
+2
Workflow Identifier: 2119
NODES in Use: Schedule Trigger, HTTP Request, Function, Telegram, Sticky Note
Automate crypto summaries with n8n and Binance

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Workflow Does

This workflow runs every hour to fetch price change data for BTCUSDC, ETHUSDC, and SOLUSDC pairs from Binance’s public API.
It calculates market metrics like volatility, bid-ask spread, momentum, and volume.
Then, it sends a clean HTML market summary in parts to a Telegram chat.
It helps avoid manual data collection and reduces errors.


Who Should Use This Workflow

This workflow is good for anyone who watches cryptocurrency prices hourly.
Users who want to save time and avoid mistakes in manual tracking will benefit most.
No special Binance API keys are needed, so it’s easy for beginners.
Running it inside n8n means automation and reliability.


Tools & Services Used

  • Binance Public API: Provides 24-hour ticker data without authentication.
  • n8n Automation Platform: Runs the workflow, scheduled triggers, HTTP requests, function code, and Telegram messages.
  • Telegram Bot API: Receives and displays the formatted market summary messages.

If you want more control, consider self-host n8n for better security and uptime.


Beginner Step-by-Step: How to Use This Workflow in n8n

Step 1: Import the Workflow

  1. Click the Download button on this page to get the workflow file.
  2. Open n8n editor where workflows are managed.
  3. Use the Import from File option to upload the downloaded workflow.

Step 2: Configure Required Settings

  1. Add Telegram Bot API credentials in n8n for the Telegram node.
  2. Update the chat ID in the Telegram node to point to the target group or private chat.
  3. If needed, adjust any symbols or filters inside the Function node to track other coins.

Step 3: Test the Workflow

  1. Run the workflow manually once to confirm data fetching and message sending.
  2. Check that Telegram receives the correct summary with proper formatting.

Step 4: Activate for Production

  1. Toggle the workflow to active mode in n8n.
  2. The workflow will run automatically every hour as scheduled.
  3. Monitor executions and message logs in n8n to ensure smooth operation.

Inputs, Processing, and Outputs in the Workflow

Inputs

  • No user inputs required once configured.
  • Scheduled trigger initiates workflow every hour.
  • HTTP Request gets full 24-hour ticker data from Binance.

Processing Steps

  • Function node filters for BTCUSDC, ETHUSDC, and SOLUSDC pairs.
  • Calculates metrics: volatility from high/low prices, bid-ask spreads, momentum from price change ratio, and trade volume.
  • Builds a summary message with HTML formatting, emojis for readability.
  • Splits long summaries into chunks respecting Telegram’s 4096-character limit.

Outputs

  • Telegram messages sent in HTML format, one or more parts.
  • Market summary contains key price and volume data updated hourly.

Edge Cases and Failure Handling

HTTP Request node has retries enabled, trying up to 5 times with delay if request fails.

Telegram messages split in parts prevent reaching API limits or message size errors.

If Binance’s API changes or connectivity fails, no data is sent, avoiding wrong alerts.

Users should monitor logs in n8n for errors and update URLs or credentials if needed.


Customization Ideas

  • Add more coins by editing the list of symbols in the Function node.
  • Change how often workflow runs by editing the cron expression in the Schedule Trigger.
  • Send summaries to different Telegram groups or private chats by updating chat IDs.
  • Create alerts only on big market changes by adding conditions inside the Function node.
  • Improve message style with charts or external report links using HTML inside the Function node.

Code Example from the Function Node

This snippet escapes HTML for safe Telegram messages and filters relevant Binance pairs.

function escapeHTML(text) {
  return String(text).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
}

const rawData = items[0].json;
const binanceData = Array.isArray(rawData) ? rawData : [];
const relevantSymbols = ['SOLUSDC', 'BTCUSDC', 'ETHUSDC'];
const filteredCoins = binanceData.filter(coin => relevantSymbols.includes(coin.symbol));

// Further code calculates metrics and builds HTML summary

return chunks;

Summary of Benefits and Results

✓ Saves up to 30 minutes every hour by automating manual data collection.
✓ Reduces errors by automatic data fetching and formatting.
✓ Provides hourly market insights on BTC, ETH, and SOL USDC pairs.
✓ Sends clean, readable HTML summaries directly to Telegram chat.
✓ Easy to customize for other coins and timings.


Automate crypto summaries with n8n and Binance

Visit through Desktop to Interact with the Workflow.

Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.
Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.

Frequently Asked Questions

Add the new USDC trading pair symbols to the relevantSymbols array in the Function node.
No API key is needed because the workflow uses Binance’s public ticker endpoint.
Yes, update the chat ID in the Telegram node to your personal chat ID.
Check that the Telegram bot token and chat ID are correct and that the bot has permission to post.

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.