AI Agents

Intelligent Telegram replies powered by AI

16 nodes 265 152 Automatic trigger
Download

Workflow Description

Automation that receives messages via Telegram or manual input, processes them through an AI agent using OpenAI, maintains conversation history in memory, and sends smart responses back to users automatically.

How it works

  1. 1.Receive message from Telegram or manual chat input
  2. 2.Process message through AI agent with memory context
  3. 3.Generate intelligent response using OpenAI API
  4. 4.Send response back to user via Telegram

Use cases

  • Automated customer support bot answering common inquiries
  • Personal assistant that remembers conversation context across sessions
  • Technical Q&A bot providing knowledge-based answers

Requirements

  • OpenAI API key with valid account access
  • Telegram bot token and proper bot configuration
  • Memory buffer setup to store conversation history

Service Value

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

Apps Used

OpenAI Manual Chat Trigger Memory AI Agent Telegram

Details

Trigger Automatic trigger
Nodes 16
Apps 5
Views 265
Downloads 152

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

/

Sticky Note

Sticky Note

#1

Sticky Note2

Sticky Note

#2

Confluence Page Storage View

HTTP Request

#3

HTML to Markdown

Markdown

#4

gpt-4o-mini

OpenAI

#5

When chat message received

Manual Chat Trigger

#6

Window Buffer Memory

Memory Buffer Window

#7

Sticky Note3

Sticky Note

#8

Chat Response

Set

#9

Globals

Set

#10

Search By ID

HTTP Request

#11

Sticky Note4

Sticky Note

#12

Page Schema

Set

#13

AI Agent

Agent

#14

Send Telegram Message

Set

#15

Split Out

Split Out

#16