AI Agents
Reply to Telegram messages with an AI agent
15 nodes
330
158
Automatic trigger
Workflow Description
Automation that captures incoming Telegram messages and routes them to an intelligent agent powered by OpenAI, which processes requests while maintaining conversation history, then delivers responses back to users in real time.
How it works
- 1.Receive incoming Telegram messages through the dedicated trigger
- 2.Send the message to an AI agent with OpenAI model for intelligent processing
- 3.Maintain conversation memory to understand context across multiple exchanges
- 4.Return the generated response and deliver it back to the Telegram user
Use cases
- Intelligent assistant that answers general and technical questions directly within Telegram
- Customer support bot that remembers conversation history to provide personalized assistance
- Information retrieval agent that responds to user queries with accurate and contextual answers
Requirements
- Active OpenAI API key with sufficient quota for concurrent requests
- Telegram bot created via BotFather with valid authentication token
- Clear intent structure for message handling and expected bot behavior patterns
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
OpenAI
Memory
Telegram
AI Agent
Details
Trigger
Automatic trigger
Nodes
15
Apps
4
Views
330
Downloads
158
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 (15)
/
OpenAI Chat Model
OpenAI
Window Buffer Memory
Memory Buffer Window
Correct errors
Set
Listen for incoming events
Set
Download voice file
Set
Combine content and set properties
Set
Send final reply
Set
Send error message
Set
Convert audio to text
OpenAI
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Send Typing action
Set
AI Agent
Agent
Determine content type
Switch