Block 1 - OpenAI Chat Model
- Type / Role
- @n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
- Config choices
- Version 1.2
This workflow is provided as-is. Please review and test before using in production.
Instantly access live OKX Spot Market data directly in Telegram! This workflow integrates the OKX REST v5 API with Telegram and optional GPT 4.1 mini formatting , delivering real time insights such...
@n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.telegramtrigger, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.telegram, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.toolcalculator
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Don Jayamaha Jr.
Original n8n.io sourceInstantly access live OKX Spot Market data directly in Telegram!
This workflow integrates the OKX REST v5 API with Telegram and optional GPT-4.1-mini formatting, delivering real-time insights such as latest prices, order book depth, candlesticks, trades, and mark prices β all in clean, structured reports.
A Telegram Trigger node listens for incoming user commands.
The User Authentication node validates the Telegram ID to allow only authorized users.
The workflow creates a Session ID from chat.id to manage session memory.
The OKX AI Agent orchestrates data retrieval via HTTP requests to OKX endpoints:
/api/v5/market/ticker?instId=BTC-USDT)/api/v5/market/ticker?instId=BTC-USDT)/api/v5/market/books?instId=BTC-USDT&sz=50)/api/v5/market/candles?instId=BTC-USDT&bar=15m)/api/v5/market/mark-price?instType=SPOT&instId=BTC-USDT)/api/v5/market/trades?instId=BTC-USDT&limit=100)Utility tools refine the data:
sessionId, symbol, and state for multi-turn interactions.A message splitter ensures Telegram output stays under 4000 characters.
Final results are sent to Telegram in structured, human-readable format.
1m β 1M).Create a Telegram Bot
Configure in n8n
OKX AI Agent v1.02.json.Deploy and Test
BTC-USDT to your bot.Watch the full setup guide on YouTube:
β‘ Unlock real-time OKX Spot Market insights directly in Telegram β no private API keys required!
Β© 2025 Treasurium Capital Limited Company Architecture, prompts, and trade report structure are IP-protected.
No unauthorized rebranding permitted.
π For support: Don Jayamaha β LinkedIn
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.
Showing the first 24 of 35 workflow blocks. Download the JSON for the full node graph.
| Workflow | Real-time OKX spot market data with GPT-4o & Telegram |
|---|---|
| Complexity | advanced |
| Nodes | 35 |
| Categories | Crypto Trading, AI Chatbot |
| Author | Don Jayamaha Jr |
| Published | 15 Sept 2025 |
Use the JSON export at /data/workflows/8609/8609.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
Instantly access live OKX Spot Market data directly in Telegram! This workflow integrates the OKX REST v5 API with Telegram and optional GPT 4.1 mini formatting , delivering real time insights such...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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.