Process Telegram messages with AI and send intelligent replies
Workflow Description
Automation that receives messages from a Telegram channel, processes them through an advanced AI model (OpenAI), analyzes content and generates contextual responses, then sends them automatically to the user or channel.
How it works
- 1.Receive incoming message via Telegram trigger
- 2.Process text through LLM chain connected to OpenAI model
- 3.Parse and format outputs using structured data parsers
- 4.Send formatted reply back to Telegram channel
- 5.Handle exceptions and errors in the processing workflow
Use cases
- Customer support bot answering inquiries automatically on Telegram
- Process user requests and categorize them by type and priority
- Generate automatic summaries or translations of long messages
- Automate answers to frequently asked questions in Telegram groups
Requirements
- Active OpenAI account with valid API key
- Telegram bot registered with correct bot token
- Telegram channel or group for message receipt and sending
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
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 (43)
OpenAI Chat Model
OpenAI
Convert education to HTML
Code
Auto-fixing Output Parser
Output Parser Autofixing
OpenAI Chat Model1
OpenAI
Structured Output Parser
Output Parser Structured
Convert employment history to HTML
Code
Convert projects to HTML
Code
Convert volunteering to HTML
Code
Telegram trigger
Set
Auth
If
No operation (unauthorized)
No Op
Check if start message
If
No operation (start message)
No Op
Get file
Set
Extract text from PDF
Extract From File
Set parsed fileds
Set
Personal info
Set
Technologies
Set
Employment history
Set
Education
Set
Projects
Set
Volunteering
Set
Merge education and employment history
Merge
Merge projects and volunteering
Merge
Merge personal info and technologies
Merge
Merge all
Merge
Set final data
Set
Convert raw to base64
Code
Convert to HTML
Convert To File
Generate plain PDF doc
HTTP Request
Send PDF to the user
Set
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Parse resume data
LLM Chain
Merge other data
Merge
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note
Sticky Note8
Sticky Note
Sticky Note9
Sticky Note
Sticky Note10
Sticky Note