AI Agents
Connect Telegram with OpenAI
12 nodes
199
135
Automatic trigger
Workflow Description
An integrated automation template connecting Telegram and OpenAI to create an intelligent assistant that receives user messages, processes them through advanced language models, and sends automated replies back to Telegram conversations.
How it works
- 1.Capture incoming messages from Telegram users using the dedicated trigger node
- 2.Process and format message text before sending to OpenAI API
- 3.Send processed message to OpenAI model and retrieve intelligent response
- 4.Aggregate and merge returned data from OpenAI for structured output
- 5.Deliver AI-generated reply directly to the original message sender on Telegram
Use cases
- Build an automated chatbot answering customer inquiries without manual intervention
- Reduce response time by auto-answering frequent questions in Telegram channels and groups
Requirements
- Active Telegram account with valid API token for bot integration
- OpenAI API key with sufficient account credits for model usage
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
12
Apps
2
Views
199
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 (12)
/
Telegram Trigger
Set
OpenAI
OpenAI
Telegram
Set
Merge
Merge
Aggregate
Aggregate
Sticky Note2
Sticky Note
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note