AI Agents
Instant AI-Powered Replies to Telegram Messages
15 nodes
299
158
Automatic trigger
Workflow Description
An automation that receives messages from Telegram, processes them through an OpenAI agent while maintaining conversation memory, and sends intelligent responses back to users automatically and instantly.
How it works
- 1.Capture incoming messages from your Telegram channel
- 2.Route the message text to an intelligent agent powered by OpenAI
- 3.Retain previous conversation context in a buffer memory
- 4.Generate a relevant response using the language model
- 5.Send the reply directly back to the user on Telegram
Use cases
- Build an AI assistant that instantly answers customer inquiries on Telegram
- Create a conversational bot that understands context and learns from chat history
Requirements
- Active OpenAI account with a valid API key
- A Telegram bot created and configured with the token from BotFather
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
299
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