AI Agents
Telegram automation
7 nodes
217
131
Automatic trigger
Workflow Description
An intelligent automation template connecting a Telegram bot to an AI agent powered by OpenAI, processing incoming messages and generating contextual responses through retained conversation memory and custom HTTP requests.
How it works
- 1.Receive incoming message from Telegram via trigger
- 2.Process text using the intelligent agent connected to OpenAI
- 3.Maintain conversation context in a sliding memory buffer
- 4.Execute HTTP requests based on agent requirements
- 5.Send generated response back to Telegram
Use cases
- Automated customer support bot that answers inquiries intelligently
- Personal assistant that remembers prior conversation context with users
- Data analysis bot that receives queries and returns processed information
Requirements
- Active Telegram account and bot token from BotFather
- Valid API key from OpenAI for language model access
- Stable internet connection for real-time request processing
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Telegram
OpenAI
Memory
AI Agent
HTTP Request
Details
Trigger
Automatic trigger
Nodes
7
Apps
5
Views
217
Downloads
131
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 (7)
Telegram Send Message
Set
OpenAI Chat Model
OpenAI
Window Buffer Memory
Memory Buffer Window
Telegram Trigger1
Set
CoinMarketCap Price Agent
Agent
Adds SessionId
Set
CoinMarketCap Price
HTTP Request