Analyze Cryptocurrency Market Data with HTX API, GPT-4o and Telegram
VerifiedAutonomous crypto market analysis agent powered by GPT-4o and Telegram.
What this workflow does
This n8n workflow creates a self-contained AI agent that interprets user queries for cryptocurrency pairs and timeframes, applies reasoning tools to evaluate indicators, and delivers structured market summaries directly in Telegram chats or via scheduled runs.
It is designed for traders and analysts seeking automated, LLM-driven insights on spot markets without requiring external subflows or additional platforms.
Who is this for?
Crypto traders and independent analysts who want AI-assisted market insights delivered through chat. Also useful for small trading desks or content teams tracking spot markets.
What problem it solves
Manually pulling HTX data, calculating indicators, and formatting reports is slow and error-prone. This workflow automates the full loop from query to readable Telegram summary using GPT-4o.
Live workflow preview
Interactive canvas of every node and connection — scroll and click to explore. Powered by n8n's preview.
Open the template on n8n to import and run it. View source template →
What it automates
Quick morning check
Type 'btc' in Telegram to receive 15m and 1h analysis before the trading day starts.
Swing-trade review
Send 'eth 4h' to get a structured 4-hour snapshot with support, resistance, and indicator readings.
Daily portfolio scan
Schedule the workflow to run once per day and push 24h stats for a watchlist of symbols.
How the workflow works
The 7 nodes in this automation, in order.
- 1Telegramtelegram
- 2Codecode
- 3AI Agent@n8n/n8n-nodes-langchain.agent
- 4OpenAI Chat Model@n8n/n8n-nodes-langchain.lmChatOpenAi
- 5Simple Memory@n8n/n8n-nodes-langchain.memoryBufferWindow
- 6Calculator@n8n/n8n-nodes-langchain.toolCalculator
- 7Think Tool@n8n/n8n-nodes-langchain.toolThink
Apps & integrations used
How to set up Analyze Cryptocurrency Market Data with HTX API, GPT-4o and Telegram
- 1Create a Telegram bot with BotFather and copy the token into n8n credentials.
- 2Add your OpenAI API key under the OpenAI Chat Model credential.
- 3Import the workflow JSON into n8n and connect the Telegram trigger node.
- 4Map the HTX API calls inside the AI Agent node using the provided HTTP requests.
- 5Attach Simple Memory and Calculator nodes as shown in the template.
- 6Activate the workflow and test with a sample message like 'btc'.
How to customize this workflow
- →Swap GPT-4o for another OpenAI model in the Chat Model node.
- →Change the trigger from Telegram to Cron for scheduled runs only.
- →Add extra symbols to the input parser so the agent accepts more pairs.
- →Insert an additional Think Tool step to log reasoning before sending the Telegram reply.
Analyze Cryptocurrency Market Data with HTX API, GPT-4o and Telegram: pros & cons
Pros
- +Self-contained multi-agent setup with no external sub-workflows
- +Direct Telegram interface for fast interaction
- +Combines live HTX data with GPT-4o reasoning in one flow
- +Supports multiple timeframes out of the box
Cons
- –Requires valid HTX and OpenAI API access
- –No built-in trade execution, only analysis
- –Memory node keeps limited context between runs
Frequently asked questions
It lets you query HTX spot market data via Telegram and receive AI-generated technical summaries powered by GPT-4o.
User reviews
Verified reviews from the community shape this listing's rating.
Loading reviews…