Real-time crypto market data from Gate.io with GPT-4o and Telegram
Needs changesWhat 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.gateio.ws over HTTP.
How it runs
Trigger: On Telegram events (message).
- User Authentication (Replace Telegram ID) (Code): runs custom JavaScript code
- Adds "SessionId" (Edit Fields (Set)): sets 1 field: message
- Gate 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
- Splits message is more than 4000 characters (Code): runs custom JavaScript code
- Send a text message (Telegram): uses Telegram
Services it uses
Other Telegram + OpenAI templates (807)
HTTP calls to: api.gateio.ws
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 Gate 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).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Gate 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)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Telegram Trigger
n8n-nodes-base.telegramTrigger - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Think Tool
@n8n/n8n-nodes-langchain.toolThink - AI Agent
@n8n/n8n-nodes-langchain.agent - Http Request Tool
n8n-nodes-base.httpRequestTool - Telegram
n8n-nodes-base.telegram
From the author
Instantly fetch live Gate.io Spot Market data directly in Telegram! This workflow integrates the Gate.io REST v4 API with GPT-4.1-mini-powered AI and Telegram, giving traders real-time access to price action, order books, candlesticks, and trade data. Perfect…