Skip to content
AI Agents

Smart Telegram Responses Using AI Language Models

18 nodes 696 207 Automatic trigger
Download

Loading workflow…

Workflow Description

An automation that receives inquiries via Telegram and processes them using advanced language models with vector-based knowledge retrieval, delivering accurate and contextual answers instantly to users.

How it works

  1. 1.Receive incoming message from designated Telegram channel
  2. 2.Convert message to embeddings using OpenAI Embeddings service
  3. 3.Search relevant content in Pinecone Vector Store database
  4. 4.Process query through LLM Chain and retrieve answer from Groq model
  5. 5.Send intelligent response back to user on Telegram

Use cases

  • Automated customer support that answers client questions 24/7 through Telegram
  • Internal knowledge assistant providing information from company documents to employees

Requirements

  • Telegram bot with valid API token
  • OpenAI API key for text embeddings
  • Pinecone account for vector storage and retrieval
  • Groq API key for the language model

Service Value

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

Apps Used

Telegram OpenAI Document Default Data Loader Text Splitter Stop And Error LLM Chain Vector Store Lm Chat Groq If Code Limit

Details

Trigger Automatic trigger
Nodes 18
Apps 11
Views 696
Downloads 207

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

/

Telegram Trigger

Set

#1

Embeddings OpenAI

OpenAI

#2

Default Data Loader

Document Default Data Loader

#3

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#4

Stop and Error

Stop And Error

#5

Question and Answer Chain

Chain Retrieval Qa

#6

Vector Store Retriever

Retriever Vector Store

#7

Pinecone Vector Store1

Vector Store Pinecone

#8

Groq Chat Model

Lm Chat Groq

#9

Sticky Note

Sticky Note

#10

Sticky Note1

Sticky Note

#11

Check If is a document

If

#12

Change to application/pdf

Code

#13

Telegram get File

Set

#14

Embeddings

OpenAI

#15

Telegram Response

Set

#16

Telegram Response about Database

Set

#17

Stop and Error1

Stop And Error

#18

Pinecone Vector Store

Vector Store Pinecone

#19

Limit to 1

Limit

#20
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