AI Agents

Automated Telegram Responses Using OpenAI Intelligence

15 nodes 230 120 Automatic trigger
Download

Workflow Description

Automation that receives Telegram messages and processes them through an intelligent agent powered by OpenAI, maintaining conversation history and executing specialized tools as needed, then delivering responses directly to the user.

How it works

  1. 1.Receive and validate incoming messages from Telegram
  2. 2.Route the message to an AI agent connected with OpenAI and conversation memory
  3. 3.Execute available tools (calculations, HTTP requests) based on context if necessary
  4. 4.Process the response and send it back to the user in Telegram

Use cases

  • Customer support bot that answers frequent questions automatically
  • Intelligent assistant that extracts web information and delivers it via Telegram
  • Agent that performs calculations and data processing on user requests

Requirements

  • Active OpenAI account with valid API key
  • Enabled Telegram bot with access token
  • Webhook or polling mechanism connecting n8n to Telegram

Service Value

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

Apps Used

AI Agent OpenAI Tool Memory HTTP Request Telegram

Details

Trigger Automatic trigger
Nodes 15
Apps 6
Views 230
Downloads 120

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

/

Ultimate Assistant

Agent

#1

OpenAI Chat Model

OpenAI

#2

Email Agent

Tool Workflow

#3

Contact Agent

Tool Workflow

#4

Content Creator Agent

Tool Workflow

#5

Window Buffer Memory

Memory Buffer Window

#6

Tavily

HTTP Request

#7

Calculator

Tool Calculator

#8

Calendar Agent

Tool Workflow

#9

Telegram Trigger

Set

#10

Set 'Text'

Set

#11

Switch

Switch

#12

Response

Set

#13

Download File

Set

#14

Transcribe

OpenAI

#15