AI Agents
Telegram AI bot with new nodes and tools
8 nodes
215
128
Automatic trigger
Workflow Description
A template connecting Telegram to an AI agent powered by OpenAI, handling incoming messages through an advanced language model while maintaining local conversation history and executing custom HTTP requests for extended functionality.
How it works
- 1.Receive incoming messages from Telegram users via Telegram trigger
- 2.Process text input through an AI agent connected to OpenAI model
- 3.Maintain conversation history using a bounded memory buffer
- 4.Execute additional tools via HTTP requests based on message requirements
- 5.Send AI-generated responses back to the Telegram user
Use cases
- Intelligent assistant answering user queries on Telegram with preserved context
- Bot integrating external services to fetch and process data with AI reasoning
- Complex query handler leveraging memory to maintain multi-turn conversation context
Requirements
- Valid OpenAI API key with appropriate model access
- Telegram bot token and chat ID for authentication
- Memory buffer configuration sized for expected conversation length
- Reliable HTTP endpoints for advanced tool integrations
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
OpenAI
Memory
Telegram
HTTP Request
AI Agent
Details
Trigger
Automatic trigger
Nodes
8
Apps
5
Views
215
Downloads
128
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (8)
OpenAI Chat Model
OpenAI
Window Buffer Memory
Memory Buffer Window
Listen for incoming events
Set
Sticky Note
Sticky Note
Send final reply
Set
Send back an image
Set
Generate image in Dalle
HTTP Request
AI Agent
Agent