Back to Templates

Analyze Crypto News Sentiment for Any Token with GPT-4o and Telegram Alerts

Created by

Created by: Don Jayamaha Jr || don-the-gem-dealer

Don Jayamaha Jr

Last update

Last update 22 days ago

Share


A sentiment intelligence sub-agent for the Binance Spot Market Quant AI Agent. It aggregates crypto news from major sources, filters by token keyword (e.g., BTC, ETH), and produces a Telegram-ready summary including market sentiment and top headlines—powered by GPT-4o.

🎥 Live Demo:
Click to Watch


🛠️ Workflow Function

This tool performs the following steps:

🔧 Step 📌 Description
Webhook Input Accepts { "message": "symbol" } via HTTP POST
Crypto Keyword Extractor GPT model extracts the valid crypto symbol (e.g., "SOL", "DOGE", "ETH")
RSS News Aggregators Pulls latest headlines from 9+ crypto sources (CoinDesk, Cointelegraph, etc.)
Merge & Filter Articles Keeps only articles containing the specified token
Prompt Builder Creates prompt for GPT with filtered headlines
GPT-4o Summarizer Summarizes news into 3-part response: Summary, Sentiment, Headline Links
Telegram Formatter Converts GPT output into a Telegram-friendly message
Response Handler Returns formatted message to the caller via webhook

📥 Webhook Trigger Format

{
  "message": "ETH"
}

This triggers a full execution of the workflow and returns output like:

📣 ETH Sentiment: Neutral

• BlackRock’s tokenized fund expands to Ethereum mainnet (CoinDesk)  
• Ethereum fees remain high, analysts call for L2 migration (NewsBTC)  
• Vitalik warns about centralized risks in staking (Cointelegraph)

📚 Installation Guide

1. Import & Enable

  • Load the .json into your n8n Editor
  • Enable webhook trigger in the top-right corner
  • Ensure it's reachable via POST /webhook/custom-path

2. Required Credentials

  • OpenAI API Key (GPT-4o capable)
  • No API keys required for RSS feeds

3. Connect to Quant Agent

  • Add an HTTP Request node in your main AI agent
  • Point to this workflow's webhook with body { "message": "symbol" }
  • Capture the response to include in your Telegram output

🔍 Real Use Cases

Scenario Result
BTC Sentiment before a key event Returns 8–12 filtered articles with bullish/neutral/bearish tone
Daily pulse for altcoins like DOGE Shows relevant headlines, helpful for intraday trading setups
Telegram chatbot integration Enables user to query sentiment via /sentiment ETH
Macro context for Quant AI outputs Adds emotional/news context to technical-based trade decisions

🧾 Licensing & Attribution

© 2025 Treasurium Capital Limited Company
Architecture, prompts, and trade report structure are IP-protected.
No unauthorized rebranding or resale permitted.

🔗 For support: LinkedIn – Don Jayamaha