Skip to main content

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

Workflow preview

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

1. Workflow 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, classi...

Best for

  • Crypto Trading automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.telegramtrigger, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.httprequest, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai

Source and attribution

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

Original n8n.io source

1.1 Workflow description

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

πŸ“Š 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

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 - Sticky Note

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

Block 2 - Sticky Note1

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

Block 3 - Sticky Note3

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

Block 4 - Sticky Note4

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

Block 5 - Sticky Note7

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

Block 6 - Telegram Trigger

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

Block 7 - Extract Query & Chat ID

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

Block 8 - Is Price Check Intent?

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

Block 9 - Fetch OHLC Data from TwelveData

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

Block 10 - Send Analysis to Telegram

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

Block 11 - Classify Intent with AI

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 12 - OpenAI GPT-4o-mini

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 13 - Parse Intent JSON

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 14 - Analyze Price Trends with AI

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 15 - OpenAI GPT-4o-mini Analysis

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 16 - Parse Analysis JSON

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 17 - Structure Analysis Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 18 - Format Message for Telegram

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 19 - OpenAI GPT-4o-mini Formatter

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 20 - Workflow Error Handler

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

Block 21 - Send Error Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

3. Summary Table

Workflow Get AI crypto price analysis via Telegram using GPT-4o-mini and TwelveData
Complexity advanced
Nodes 21
Categories Crypto Trading, AI Chatbot
Author Rahul Joshi
Published 07 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12552/12552.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 Get AI crypto price analysis via Telegram using GPT-4o-mini and TwelveData do?

Description Automate real time cryptocurrency analysis by turning Telegram messages into professional, AI generated market reports. This workflow listens to user queries in Telegram, classi...

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, AI Chatbot use case.