AI Agents
Connect Telegram with OpenAI
15 nodes
227
120
Automatic trigger
Workflow Description
Automation template connecting Telegram with OpenAI to process messages intelligently. When a message arrives in Telegram, an AI agent sends it to ChatGPT for smart response generation, maintaining conversation context in memory and executing HTTP operations when needed.
How it works
- 1.Trigger activation when a message is received in Telegram channel or direct chat
- 2.Process message through intelligent agent connected to OpenAI ChatGPT
- 3.Store conversation context in buffer memory for contextual responses
- 4.Execute additional tools such as calculations or HTTP requests as required
- 5.Send generated reply back to user via Telegram
Use cases
- Smart customer support bot answering common inquiries automatically
- Personal assistant in Telegram performing diverse tasks and instant calculations
Requirements
- Active Telegram account with valid bot token from BotFather
- Valid OpenAI API key with sufficient consumption limit for requests
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
AI Agent
OpenAI
Tool
Memory
HTTP Request
Telegram
Details
Trigger
Automatic trigger
Nodes
15
Apps
6
Views
227
Downloads
120
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)
/
Ultimate Assistant
Agent
OpenAI Chat Model
OpenAI
Email Agent
Tool Workflow
Contact Agent
Tool Workflow
Content Creator Agent
Tool Workflow
Window Buffer Memory
Memory Buffer Window
Tavily
HTTP Request
Calculator
Tool Calculator
Calendar Agent
Tool Workflow
Telegram Trigger
Set
Set 'Text'
Set
Switch
Switch
Response
Set
Download File
Set
Transcribe
OpenAI