AI Agents

Connect Telegram with OpenAI

27 nodes 199 124 Automatic trigger
Download

Workflow Description

This template connects a Telegram bot to an OpenAI-powered AI agent that responds to user inquiries in real-time. It leverages a vector store for semantic search and external tools to enhance responses with current, reliable information.

How it works

  1. 1.Receive messages from Telegram via instant trigger
  2. 2.Process the query through an OpenAI agent with multiple tools
  3. 3.Search the vector store and internet, then send the response

Use cases

  • Intelligent customer support bot answering comprehensive questions on Telegram
  • Research assistant gathering information from multiple sources and delivering instantly

Requirements

  • OpenAI API key and Telegram bot token
  • Qdrant vector store setup and reference documents configured

Service Value

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

Apps Used

Telegram AI Agent Tool HTTP Request OpenAI Vector Store Document Default Data Loader Text Splitter Memory

Details

Trigger Automatic trigger
Nodes 27
Apps 9
Views 199
Downloads 124

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

/

Telegram Trigger

Set

#1

Ultimate Assistant

Agent

#2

Email Agent

Tool Workflow

#3

Contact Agent

Tool Workflow

#4

Content Creator Agent

Tool Workflow

#5

Tavily

HTTP Request

#6

Calendar Agent

Tool Workflow

#7

Download File

Set

#8

Transcribe

OpenAI

#9

Calculator1

Tool Calculator

#10

Set 'Text'1

Set

#11

Switch1

Switch

#12

Response1

Set

#13

Wikipedia

Tool Wikipedia

#14

Qdrant Vector Store

Vector Store Qdrant

#15

Default Data Loader

Document Default Data Loader

#16

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#17

OpenAI Chat Model

OpenAI

#18

Embeddings OpenAI1

OpenAI

#19

Qdrant Vector Store1

Vector Store Qdrant

#20

Embeddings OpenAI

OpenAI

#21

Window Buffer Memory

Memory Buffer Window

#22

Download File1

Set

#23

Code

Code

#24

If

If

#25

Edit Fields

Set

#26

Edit Fields1

Set

#27