Developer & DevOps
Reply to Telegram Messages with OpenAI Intelligence
16 nodes
324
135
Automatic trigger
Workflow Description
This automation captures incoming messages from a Telegram channel and processes them through OpenAI's language model, then delivers intelligent responses automatically back to users. It enables a 24/7 smart assistant without manual intervention.
How it works
- 1.Detect new message arriving in Telegram channel or chat
- 2.Forward message content to OpenAI model for intelligent processing
- 3.Extract and refine the AI-generated response if needed
- 4.Send the intelligent reply back to the user on Telegram
Use cases
- Build an AI-powered support bot that answers customer questions automatically
- Create a consultation assistant that provides personalized advice based on user queries
- Implement a content moderator or question classifier that handles inquiries at scale
Requirements
- Active Telegram account with a channel, group, or bot configured for receiving messages
- OpenAI API key with sufficient credits and appropriate model access
- Proper permissions to add the bot to chats and send messages on behalf of users
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
16
Apps
2
Views
324
Downloads
135
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 (16)
/
Telegram Trigger
Set
CheckCommand
Switch
Sticky Note
Sticky Note
Settings
Set
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Chat_mode
OpenAI
Greeting
OpenAI
Text reply
Set
Send Typing action
Set
Merge
Merge
Sticky Note3
Sticky Note
Create an image
OpenAI
Send error message
Set
Send image
Set
PreProcessing
Set