Skip to content
AI Agents

Intelligent Telegram agent to process text, audio and images

22 nodes 645 234 Webhook
Download

Loading workflow…

Workflow Description

An automation that receives Telegram messages containing text, audio files, and images, processes them using OpenAI AI models, extracts relevant information, classifies content automatically, and sends appropriate responses back to users.

How it works

  1. 1.Receive messages from a Telegram channel or group via webhook
  2. 2.Classify content type (text, audio, or image) using the text classifier node
  3. 3.Process content with the appropriate OpenAI model and extract key information
  4. 4.Generate and format responses based on analysis results
  5. 5.Send processed responses back to the Telegram chat

Use cases

  • Convert voice notes to organized text with automatic keyword extraction
  • Classify incoming queries and respond based on their category or intent
  • Extract data from images and combine it with additional text information

Requirements

  • Active Telegram account and bot token configured
  • Valid OpenAI API key with appropriate model access
  • A Telegram channel or group for testing and deployment

Service Value

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

Apps Used

If Telegram Webhook Set OpenAI Convert To File Twitter/X

Details

Trigger Webhook
Nodes 22
Apps 7
Views 645
Downloads 234

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 (22)

/

Check User & Chat ID

If

#1

Error message

Set

#2

Sticky Note

Sticky Note

#3

Listen for Telegram Events

Webhook

#4

Sticky Note2

Sticky Note

#5

Sticky Note5

Sticky Note

#6

Image Schema

Set

#7

Sticky Note3

Sticky Note

#8

Sticky Note1

Sticky Note

#9

gpt-4o-mini

OpenAI

#10

Get Audio File

Set

#11

Get Image

Set

#12

Analyze Image

OpenAI

#13

Transcribe Recording

OpenAI

#14

Sticky Note6

Sticky Note

#15

gpt-4o-mini1

OpenAI

#16

Edit Fields

Set

#17

Audio Task Message

Set

#18

Audio Other Message

Set

#19

Text Task Message

Set

#20

Text Other Message

Set

#21

Image Message

Set

#22

Convert to Image File

Convert To File

#23

Extract from File to Base64

Extract From File

#24

Text Classifier Audio

If

#25

Text Classifier

If

#26

Validation

Set

#27

Sticky Note4

Sticky Note

#28

Sticky Note7

Sticky Note

#29

Sticky Note8

Sticky Note

#30

Sticky Note9

Sticky Note

#31

Message Router

Switch

#32
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime