Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Agentic Telegram AI bot with with LangChain nodes and new tools

n8n template #2592
Create a Telegram bot that combines advanced AI functionalities with LangChain nodes and new tools. Nodes as tools and the HTTP request tool are a new n8n feature that extend custom workflow tool and simplify your setup. We used the workflow tool in the previous Telegram template to call the Dalle-3 model. In the new version, we've achieved similar results using the HTTP Request tool and the Telegram node tool instead. The main difference is that Telegram bot becomes more flexible. The LangChain Agent node can decide which tool to use and when. In the previous version, all steps inside the custom workflow tool were executed sequentially. ⚠️ Note that you'd need to select the Tools Agent to w

How to set it up

  1. Open template #2592 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 2 credentials under Credentials → Add credential: Telegram, OpenAI Chat Model. Then open each of those nodes and pick the credential.
  3. Check the model in the AI Agent node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Agentic Telegram AI bot with with LangChain nodes and new tools" (https://n8n.io/workflows/2592). It uses: Telegram, AI Agent, OpenAI Chat Model, Simple Memory, HTTP Request Tool. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. Yulia published it free on n8n.io as a verified creator, and it has 26K views. It runs on n8n Cloud or a self-hosted n8n instance.

Telegram, OpenAI Chat Model. The other 3 nodes are built into n8n.

Similar workflows

NameViews
  1. Get Real-time Crypto Token Insights via Telegram with DexScreener and GPT-4o12K
  2. CoinMarketCap Telegram Price Bot5,840
  3. Automated Research Report Generation with AI, Wiki, Search & Gmail/Telegram4,632
  4. Angie, personal AI assistant with Telegram voice and text326K
  5. Create a Branded AI-Powered Website Chatbot88K
  6. Conversational Telegram Bot with GPT-5/GPT-4o for Text and Voice Messages82K
  7. 🤖 AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + Qdrant65K
  8. Telegram AI bot with LangChain nodes59K