Telegram automation
Workflow Description
Advanced automation template connecting Telegram with OpenAI models to build an intelligent bot that processes messages automatically, analyzes content using language chains, and returns structured responses through data parsing and output formatting.
How it works
- 1.Receive messages from Telegram via trigger and identify request type
- 2.Process text and files using OpenAI LLM chains with automatic error correction
- 3.Send formatted responses back to users through Telegram directly
Use cases
- Build a smart assistant that automatically responds to user inquiries on Telegram
- Process and analyze files and data sent by users using AI models
- Automate DevOps workflows requiring intelligent interaction with team members
Requirements
- OpenAI API key to access GPT models
- Telegram bot token with full access permissions
- Knowledge of JSON structure and formatted data handling
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