Templates / Agentic Telegram AI bot with with LangChain nodes and new tools

Agentic Telegram AI bot with with LangChain nodes and new tools

Needs changes

by Yulia ✓ · 28,479 views · created 2024-11-30 · Personal Productivity, AI Chatbot

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: HTTP Request Tool (legacy), AI Agent v1 (old agent modes). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 7 nodes and runs on Telegram events. Along the way it connects OpenAI Chat Model, Telegram and HTTP Request. It also calls api.openai.com over HTTP.

How it runs

Trigger: On Telegram events.

  1. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 2 tools (Send back an image, Generate image in Dalle); memory: Window Buffer Memory
  2. Send final reply (Telegram): uses Telegram

Services it uses

OpenAI Chat ModelTelegramHTTP Request

HTTP calls to: api.openai.com

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • HTTP Request Tool (legacy) in Generate image in Dalle: replace with HTTP Request node connected to the AI Agent's Tool input.
  • AI Agent v1 (old agent modes) in AI Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
HTTP Request Tool (legacy)
Generate image in Dalle
HTTP Request node connected to the AI Agent's Tool input
AI Agent v1 (old agent modes)
AI Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (7)

From the author

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…

Excerpt from Yulia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.