Developer & DevOps
Connect Telegram with OpenAI
16 nodes
226
122
Automatic trigger
Workflow Description
An automation template that connects your Telegram account with OpenAI's API, enabling you to use ChatGPT directly within Telegram conversations. Messages are automatically sent to OpenAI for processing, and responses are delivered back to the chat instantly.
How it works
- 1.Receive incoming messages from Telegram using the dedicated trigger node
- 2.Route messages to OpenAI API for intelligent processing and response generation
- 3.Send the generated reply automatically back to the Telegram conversation
Use cases
- Get instant answers from ChatGPT without leaving Telegram
- Automate content creation and research tasks through chat messages
Requirements
- Active Telegram account with a valid bot token
- OpenAI API key with sufficient credits
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
226
Downloads
122
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