Agentic Telegram AI Bot with LangChain Nodes & Tools
Advanced Telegram bot using n8n LangChain nodes, AI agents, and new tools for dynamic, context-aware conversations with OpenAI GPT-4o.
This n8n workflow deploys an intelligent Agentic Telegram AI bot powered by LangChain nodes and cutting-edge n8n features like Node as Tools and HTTP Request Tool. It transforms a simple Telegram trigger into a flexible AI assistant that dynamically selects tools based on user input, maintaining conversation context via Window Buffer Memory for the last 10 interactions. Unlike sequential workflows, the AI Tool Agent (using Tools Agent mode) decides when to reply directly, send images via DALL-E (through HTTP requests), or use the Telegram node tool for responses, addressing users by name for personalized engagement.
Key components include the Telegram Trigger for real-time message detection, OpenAI GPT-4o model for generating nuanced, context-aware replies (configurable for other models), and memory management to ensure coherent multi-turn dialogues. Setup requires only OpenAI and Telegram credentials, making it quick to launch. The bot excels in handling complex queries, tool invocations, and media generation without rigid scripting.
Benefits include massive time savings in building scalable AI chatbots, enhanced flexibility over custom workflow tools, and seamless integration of external APIs via HTTP tools. Ideal use cases span customer support automation, personal AI assistants, HR query handling (e.g., employee onboarding chats), sales lead nurturing, or any scenario needing conversational AI on Telegram. Its high adaptability and advanced logic make it valuable for businesses seeking AI-driven messaging solutions.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
E-commerce Store Automation Suite
8 hand-picked workflows for $39.00.
That is $4.88 each, vs $24.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related HR Management workflows
- Handling Job Application Submissions with AI and N8n Forms$14.99
- Automate Resume Screening and Ranking with Llama 4 AI and Google Workspace$14.99
- Automate Resume Screening and Candidate Engagement with GPT-4$14.99
- Automate CV Screening and Analysis with Telegram, Google Gemini AI, and Google Workspace$14.99
- Enrich New Discourse Members with Clearbit & Slack Alerts$13.99
- 🛠️ Auto Workflow Node Positioning for n8n$12.99
More from Bruno Jonsson
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.