Developer & DevOps

Process Telegram messages with AI and send intelligent automated replies

43 nodes 192 118 Automatic trigger
Download

Workflow Description

Automation receives Telegram messages, analyzes them via OpenAI, extracts structured data, and sends personalized responses automatically. Supports text and file processing with adaptive response formatting based on request type.

How it works

  1. 1.Receive incoming message from Telegram via webhook trigger
  2. 2.Send message content to OpenAI for intelligent analysis and processing
  3. 3.Extract structured data from AI response using output parsers
  4. 4.Format result into readable and properly structured response
  5. 5.Send processed reply back to user through Telegram

Use cases

  • Auto-respond to frequent questions in Telegram groups and channels
  • Analyze documents and files sent by users to generate smart summaries
  • Generate technical content or answers based on user inquiries in real-time

Requirements

  • Active OpenAI API key with sufficient credits
  • Telegram bot configured with valid bot token
  • Read and write permissions for messages in groups and private chats

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

OpenAI Output Parser Telegram LLM Chain

Details

Trigger Automatic trigger
Nodes 43
Apps 4
Views 192
Downloads 118

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (43)

/

OpenAI Chat Model

OpenAI

#1

Convert education to HTML

Code

#2

Auto-fixing Output Parser

Output Parser Autofixing

#3

OpenAI Chat Model1

OpenAI

#4

Structured Output Parser

Output Parser Structured

#5

Convert employment history to HTML

Code

#6

Convert projects to HTML

Code

#7

Convert volunteering to HTML

Code

#8

Telegram trigger

Set

#9

Auth

If

#10

No operation (unauthorized)

No Op

#11

Check if start message

If

#12

No operation (start message)

No Op

#13

Get file

Set

#14

Extract text from PDF

Extract From File

#15

Set parsed fileds

Set

#16

Personal info

Set

#17

Technologies

Set

#18

Employment history

Set

#19

Education

Set

#20

Projects

Set

#21

Volunteering

Set

#22

Merge education and employment history

Merge

#23

Merge projects and volunteering

Merge

#24

Merge personal info and technologies

Merge

#25

Merge all

Merge

#26

Set final data

Set

#27

Convert raw to base64

Code

#28

Convert to HTML

Convert To File

#29

Generate plain PDF doc

HTTP Request

#30

Send PDF to the user

Set

#31

Sticky Note

Sticky Note

#32

Sticky Note1

Sticky Note

#33

Sticky Note2

Sticky Note

#34

Sticky Note4

Sticky Note

#35

Sticky Note5

Sticky Note

#36

Parse resume data

LLM Chain

#37

Merge other data

Merge

#38

Sticky Note6

Sticky Note

#39

Sticky Note7

Sticky Note

#40

Sticky Note8

Sticky Note

#41

Sticky Note9

Sticky Note

#42

Sticky Note10

Sticky Note

#43