AI Agents
Connect Telegram with OpenAI
8 nodes
237
141
Automatic trigger
Workflow Description
Automation template connecting Telegram messaging with OpenAI intelligence. Receives user messages from Telegram, processes them through OpenAI's language model, and automatically sends intelligent responses back to the conversation thread.
How it works
- 1.Capture incoming message from Telegram user via webhook trigger
- 2.Send message text to OpenAI API for intelligent processing
- 3.Wait for the model response with timeout handling
- 4.Route response based on content type or conditional logic
- 5.Send AI-generated reply directly back to Telegram chat
Use cases
- Intelligent customer support bot answering inquiries instantly 24/7
- Personal research assistant analyzing and summarizing information from chat
Requirements
- Active Telegram account with verified bot API token from BotFather
- Valid OpenAI API key with sufficient usage quota
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Telegram
OpenAI
Details
Trigger
Automatic trigger
Nodes
8
Apps
2
Views
237
Downloads
141
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 (8)
Get the Image
Set
Send Content for the Analyzed image
Set
Sticky Note
Sticky Note
Update Telegram Error Message
Set
Wait
Wait
Sticky Note1
Sticky Note
Analyze image
OpenAI
Switch ( image or not )
Switch