Templates / Analyze cryptocurrency market data with HTX API, GPT-4o and Telegram

Analyze cryptocurrency market data with HTX API, GPT-4o and Telegram

Needs changes

by Don Jayamaha Jr ✓ · 6,927 views · created 2025-09-15 · Crypto Trading, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 17 nodes and runs on Telegram events (message). Along the way it connects OpenAI Chat Model, Telegram and HTTP Request. It also calls api.huobi.pro over HTTP.

How it runs

Trigger: On Telegram events (message).

  1. User Authentication (Replace Telegram ID) (Code): runs custom JavaScript code
  2. Adds "SessionId" (Edit Fields (Set)): sets 1 field: message
  3. HTX AI Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 9 tools (Think, 24h Stats, Calculator, Best Bid/Ask…); memory: Simple Memory
  4. Splits message is more than 4000 characters (Code): runs custom JavaScript code
  5. Telegram: uses Telegram

Services it uses

OpenAI Chat ModelTelegramHTTP Request

HTTP calls to: api.huobi.pro

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in HTX AI Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
HTX AI Agent (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (10)

From the author

A fully autonomous, HTX Spot Market AI Agent (Huobi AI Agent) built using GPT-4o and Telegram. This workflow is the primary interface, orchestrating all internal reasoning, trading logic, and output formatting. --- ⚙️ Core Features 🧠 LLM-Powered…

Excerpt from Don Jayamaha Jr's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.