DEX Screener AI Chatbot for Telegram - n8n Workflow

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.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Crypto Traders and Investors who need immediate, conversational access to DEX data.
Automation specialists looking for advanced n8n templates integrating LangChain Agents with custom API tools.
Developers wanting to build AI-powered chatbots on Telegram.
Users seeking to deploy robust financial monitoring systems using an n8n workflow.

Overview

Financial markets, especially decentralized exchanges (DEXs), require instant access to real-time data. This specialized n8n workflow solves the problem of needing to manually navigate dashboards by creating an intelligent, conversational interface directly inside Telegram. The automation acts as a dedicated Blockchain DEX Screener Insights Agent, leveraging the capabilities of the OpenAI gpt-4o-mini model and the DexScreener API.

This sophisticated n8n workflow demonstrates the power of the LangChain Agent n8n node, which intelligently selects the correct API tool based on the user's natural language query (e.g., 'What are the top token boosts?' or 'Search for the SOL/USDC pair'). By using a dedicated n8n trigger and a set node to maintain the session ID, this n8n template ensures that users receive fast, accurate, and contextual responses, making complex market analysis accessible on the go.

How it Works

The entire flow is designed around a request-response cycle initiated by a user message on Telegram.


  1. Trigger Event: The process starts with the Telegram Trigger n8n node, which listens for any incoming chat message.

  2. Session Context: The subsequent Set n8n node, named 'Adds SessionId,' immediately extracts the Telegram chat ID. This crucial step ensures that the AI Agent maintains conversational memory for that specific user session, facilitated by the Window Buffer Memory component.

  3. Agent Activation: The user's query is passed to the core 'Blockchain DEX Screener Insights Agent' n8n node. This agent, configured with a detailed system message, analyzes the request and determines the necessary action. It utilizes the powerful OpenAI Chat Model (GPT-4o-mini) for reasoning.

  4. Tool Selection: Based on the user's intent, the agent selects one of the eight predefined Tool HTTP Request n8n node components (e.g., 'DexScreener Search Pairs' or 'DexScreener Token Pools').

  5. Data Retrieval: The selected tool executes the necessary call to the DexScreener API, fetching real-time blockchain data.

  6. Insight Generation: The data retrieved by the n8n node tool is passed back to the AI Agent. The agent processes this raw data and formulates a concise, insightful, and natural language response.

  7. Final Response: The structured response is sent back to the user's originating chat via the final Telegram n8n node.

Installation Guide

To deploy this expert n8n workflow, follow these steps:


  1. Import the n8n Workflow: Copy the provided JSON code and import it directly into your n8n instance via the 'Workflows' > 'New' > 'Import from JSON' option.

  2. Set up Telegram Credentials: Configure the 'Telegram Trigger' n8n node and the final 'Telegram' n8n node with your Telegram Bot API credentials. This requires obtaining a bot token from BotFather.

  3. Set up OpenAI Credentials: Configure the 'OpenAI Chat Model' n8n node with your OpenAI API key. This is essential for the GPT-4o-mini model to perform the required reasoning and insight generation.

  4. Activate the Trigger: The Telegram Trigger needs to be linked to your bot. Ensure you complete the webhook setup as prompted by the n8n trigger interface.

  5. Activate the Workflow: Set the entire n8n workflow to 'Active' to start listening for incoming messages.

Node Details

This n8n template relies heavily on the LangChain suite of n8n node components:

Telegram Trigger (n8n trigger): The starting point of the n8n workflow. It monitors for incoming messages in a specified Telegram chat.
Adds SessionId (Set n8n node): Dynamically captures the chat.id and assigns it as the sessionId, enabling persistent conversation memory.
OpenAI Chat Model (LLM n8n node): Configured to use gpt-4o-mini for fast and cost-effective decision-making and analysis. It serves as the brain for the agent.
Window Buffer Memory (Memory n8n node): Uses the extracted session ID to store and recall past messages, maintaining conversation context within the n8n workflow.
Blockchain DEX Screener Insights Agent (Agent n8n node): The core control structure. It uses a detailed system prompt defining 8 specific API tools and instructs the model on when and how to use them to fulfill the user's query.
DexScreener API Tools (8x Tool HTTP Request n8n node): A collection of highly specific n8n node tools that map directly to DexScreener API endpoints (e.g., Search Pairs, Token Pools, Latest Token Profiles). Each tool provides the agent with the ability to retrieve real-time data needed to generate comprehensive insights.


  • Telegram (Action n8n node): The final step in this n8n workflow, sending the processed AI output back to the user’s chat.

Related n8n Workflows

Free

Nodes: 8 Nodes
Updated: December 26 2025
View all
Created by

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.

Featured*