AI Agents
Connect Telegram with OpenAI
15 nodes
227
140
Automatic trigger
Workflow Description
Automation that connects your Telegram bot with an intelligent agent powered by OpenAI. It maintains conversation context through dynamic memory, enabling natural and continuous dialogues without losing context across interactions.
How it works
- 1.Receive incoming Telegram messages automatically when new messages arrive
- 2.Process messages through an intelligent agent connected to OpenAI API
- 3.Store conversation context in memory to improve future responses
- 4.Send the generated reply back to the user on Telegram instantly
Use cases
- Automated customer support for businesses via Telegram with intelligent responses
- Personal assistant that answers questions and retains context across multiple conversations
Requirements
- Valid API key from OpenAI
- Active Telegram bot token
- Stable internet connection
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
227
Downloads
140
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