Deploy a powerful n8n workflow that uses an AI agent to securely retrieve live crypto market statistics (tickers, order book, klines) from the Bybit v5 API and deliver formatted reports instantly to Telegram users. Explore this high-value n8n templates solution.
Download this n8n workflow template and start using it instantly.
This complex n8n workflow addresses the need for instant, structured access to financial data without manual querying or complex charting software. It leverages the power of an AI Agent running within n8n to interpret natural language commands sent through Telegram, decide which Bybit API calls are necessary, execute those requests, and then present the aggregated results in a clean, human-readable format.
The key value of this specific n8n workflow lies in its strict separation of duties: the Bybit AI Agent n8n node is configured only to fetch and format data, ensuring the output is objective market facts (prices, volumes, order book depth) rather than speculative analysis. This is a robust n8n templates solution for institutional or power users who demand accuracy and speed, starting immediately when the Telegram n8n trigger fires.
The entire process is initiated by the Telegram Trigger n8n node, which listens for incoming messages.
Telegram Trigger n8n node. The workflow immediately passes the data to a Code n8n node (User Authentication) to verify that the sender's Telegram ID is authorized. If the ID is approved, a Set n8n node assigns essential metadata like the sessionId (chat ID) and the raw user message.Bybit AI Agent n8n node. This agent uses the OpenAI Chat Model (specifically gpt-4.1-mini) for reasoning and coordination, and the Simple Memory n8n node to maintain context across multi-turn queries.httpRequestTool nodes. These tools hit the Bybit v5 Spot API endpoints to retrieve prices, 24h stats, order book depth, or Klines.Calculator n8n node performs any necessary math (like calculating midpoints), and the Think n8n node processes and formats the raw JSON results into the structured HTML defined in the Agent's system prompt.Code n8n node (Splits message is more than 4000 characters). This preventative measure ensures that if the report exceeds Telegram's 4096-character limit, the output is automatically split into manageable chunks.Telegram n8n node.To deploy this comprehensive n8n workflow, follow these steps:
Telegram Trigger and the final Telegram n8n node using your Bot Token.OpenAI Chat Model n8n node.User Authentication (Replace Telegram ID) n8n node's Code to include your actual authorized Telegram user ID in place of <> . This is crucial for security. Telegram Trigger (n8n trigger): The starting point of the n8n workflow, listening for messages (updates) sent to the configured Telegram bot.
User Authentication (Code n8n node): Implements a security layer by checking message.from.id against a hardcoded authorized user ID, preventing unauthorized access to the Bybit agent.
Adds "SessionId" (Set n8n node): Creates and passes essential workflow context, including the chat ID as sessionId and the user's message as message, into the AI Agent for continuity.
OpenAI Chat Model (Language Model n8n node): The core large language model, configured to use gpt-4.1-mini. It provides the reasoning capability for the Bybit AI Agent.
Simple Memory (Memory n8n node): Stores short-term conversation context, allowing the AI Agent to remember previous market symbols requested.
Bybit AI Agent (Agent n8n node): The central orchestrator. It uses the input, memory, and LLM to determine the appropriate Bybit API calls (Tools) required to fulfill the user's data request.
HTTP Request Tools (e.g., 24h Stats, Klines): These are specialized httpRequestTool n8n nodes integrated into the Agent. They connect directly to the Bybit v5 API endpoints (e.g., /v5/market/tickers, /v5/market/kline) to fetch raw data.
Splits message... (Code n8n node): A utility n8n node that prevents message failure by splitting the AI Agent's potentially long output into chunks smaller than the Telegram limit (4000 characters).
Automate security analysis by integrating Wazuh data with NixGuard RAG via this robust n8n workflow. Get real-time, actionable insights using custom n8n node logic and advanced RAG processing.

Use this powerful n8n workflow to scrape enriched leads from an external API (like Apollo) and automatically save only qualified contacts into your Airtable database. Deploy this n8n template today.

Use this robust n8n workflow to automatically monitor your Gmail inbox for new emails with attachments. Extract files, handle multiple uploads using a custom n8n node, and store them in Google Drive.

Deploy an expert AI Agent using this n8n workflow to analyze real-time blockchain data from DexScreener via Telegram. Integrates GPT-4o, LangChain, and multiple custom API tools within the n8n node structure.

With 12 years of experience as a Blockchain Strategist and Web3 Architect, I specialize in bridging the gap between traditional industries and decentralized technologies. My expertise spans tokenized assets, crypto payment integrations, and blockchain-driven market solutions.







































