AI Agents
Connect Telegram with OpenAI
15 nodes
219
125
Automatic trigger
Workflow Description
An automation template that connects a Telegram bot to OpenAI's GPT model, receiving user messages and sending intelligent responses instantly while maintaining conversation context through a memory buffer.
How it works
- 1.Receive incoming messages from Telegram via the trigger
- 2.Send the message to an AI Agent connected to OpenAI for processing
- 3.Maintain conversation context using Buffer Memory and return the response to the user
Use cases
- Intelligent customer support bot that answers inquiries automatically
- Personal assistant that understands context across multiple messages
Requirements
- OpenAI API key for model access
- Telegram Bot Token obtained 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
219
Downloads
125
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