Skip to content
FlowHubFluxonLab
A
AI Automationfree

Fetch Real-Time MEXC Spot Market Data with GPT-4.1-mini and Telegram

by Don Jayamaha Jradapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentCalculatorCalculatorCCodeOpenAI Chat ModelOpenAI Chat ModelSSimple MemoryTelegramTelegramThink ToolThink Tool
Share Post Share
OpenAI Chat ModelOpenAI Chat Mod…Telegram TriggerCoUser Authentication (Replace Telegram ID)User Authentica…SeAdds "SessionId"TelegramCoSplits message is more than 4000 charactersSplits message …MBSimple MemoryTCCalculatorTTThinkAgMEXC AI AgentHR24h StatsHROrder Book DepthHRPrice (Latest)HRBest Bid/AskHRKlines (Candles)HRAverage PriceHRRecent Trades12345678910111213141516
1/5
STEPS · 16
Starts on a Telegram event

Get real-time MEXC Spot Market data instantly in Telegram! This workflow connects the MEXC REST v3 API with Telegram and optional GPT-4.1-mini formatting, providing users with latest prices, 24h stats, order book depth, trades, and candlesticks in structured, Telegram-ready messages. 🔎 How It Works A Telegram Trigger node listens for commands. User Authentication ensures only authorized Telegram IDs can access the bot. A Session ID is generated from chat.id for lightweight memory. The MEXC AI Agent coordinates multiple API calls via HTTP nodes: Ticker (Latest Price) → /api/v3/ticker/price?symbol=BTCUSDT 24h Stats → /api/v3/ticker/24hr?symbol=BTCUSDT Order Book Depth → /api/v3/depth?symbol=BTCUSDT&limit=50 Best Bid/Ask Snapshot → /api/v3/ticker/bookTicker?symbol=BTCUSDT Candlesticks (Klines) → /api/v3/klines?symbol=BTCUSDT&interval=15m&limit=200 Recent Trades → /api/v3/trades?symbol=BTCUSDT&limit=100 Utility Nodes refine the data: Calculator → spreads, averages, mid-prices. Think → formats raw JSON into human-readable summaries. Simple Memory → saves symbol, sessionId, and context across turns. Message Splitter prevents Telegram messages from exceeding 4000 characters.

Tags

n8nreference-onlyagentlm-chat-open-aimemory-buffer-windowtelegramtool-calculatortool-think
Connects
AAI AgentcalculatorCalculatorCCodeopenaichatmodelOpenAI Chat ModelSSimple MemorytelegramTelegram
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes17
AddedSep 15, 2025

Related workflows

See all AI Automation
AopenaichatmodelserpapigooglesearchS
free

AI agent chat

This workflow employs OpenAI's language models and SerpAPI to create a responsive, intelligent conversational agent. It comes equipped with manual chat triggers and memory buffer capabilities to ensure seamless interactions. To use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
AopenaichatmodelserpapigooglesearchS
free

AI chatbot that can search the web

This workflow is designed for dynamic and intelligent conversational capabilities. It incorporates OpenAI's GPT-4o model for natural language understanding and generation. Additional tools include SerpAPI and Wikipedia for enriched, data-driven responses. The workflow is triggered manually, and utilizes a 'Window Buffer Memory' to maintain the context of the last 20 interactions for better conversational continuity. All these components are orchestrated through n8n nodes, ensuring seamless interconnectivity. To use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
AopenaichatmodelserpapigooglesearchS
free

Slack chatbot powered by AI

This workflow offers an effective way to handle a chatbot's functionality, making use of multiple tools for information retrieval, conversation context storage, and message sending. It's a setup tailored for a Slack environment, aiming to offer an interactive, AI-driven chatbot experience. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team