Skip to main content

Get AI crypto price analysis via Telegram using GPT-4o-mini and TwelveData

Workflow preview

Get AI crypto price analysis via Telegram using GPT-4o-mini and TwelveData preview
Open on n8n.io

Overview

πŸ“Š Description

Automate real-time cryptocurrency analysis by turning Telegram messages into professional, AI-generated market reports. πŸ“ˆπŸ€– This workflow listens to user queries in Telegram, classifies intent using AI, fetches recent OHLC price data, and generates clear, structured crypto insights covering short-term and weekly trends. Each response is formatted for mobile-friendly Telegram delivery with key metrics, insights, and disclaimers. Ideal for crypto communities, analysts, and bot builders who want instant, reliable market analysis without manual charting. πŸš€πŸ“Š

πŸ” What This Template Does

1️⃣ Listens for incoming Telegram messages in real time. πŸ’¬ 2️⃣ Extracts the user’s query text and chat ID. 🧾 3️⃣ Uses AI to classify intent (price check, overview, trend analysis). πŸ€– 4️⃣ Identifies the requested crypto symbol (BTC, ETH, etc.). πŸ” 5️⃣ Fetches 1-hour OHLC price data from CoinMarketCap/TwelveData. πŸ“Š 6️⃣ Compares current price with 24h and 7d historical levels. ⏱️ 7️⃣ Evaluates volume and short-term market strength. πŸ“ˆ 8️⃣ Generates a structured AI market analysis with confidence scoring. 🧠 9️⃣ Formats the analysis into a clean, Telegram-friendly message. βœ‰οΈ πŸ”Ÿ Sends the final report directly back to the user in Telegram. πŸ“²

⭐ Key Benefits

βœ… Delivers instant crypto analysis inside Telegram βœ… Eliminates manual chart reading and calculations βœ… Uses AI for consistent, structured market insights βœ… Mobile-friendly responses with key metrics βœ… Supports multiple crypto symbols on demand βœ… Ideal for bots, communities, and trading tools

🧩 Features

  • Telegram Bot trigger and message handling
  • AI intent classification and symbol extraction
  • Real-time OHLC price data retrieval
  • AI-based price trend and volume analysis
  • Structured JSON output for reliability
  • Telegram-optimized message formatting
  • Confidence scoring and risk disclaimers
  • Built-in error handling with email alerts

πŸ” Requirements

  • Telegram Bot API token
  • OpenAI API key (GPT-4o-mini recommended)
  • CoinMarketCap or TwelveData API key
  • Gmail OAuth2 credentials (for error alerts)
  • n8n instance with AI nodes enabled

🎯 Target Audience

  • Crypto traders and analysts
  • Telegram bot builders
  • Crypto communities and channels
  • Fintech and trading platforms
  • Automation teams building market insight bots