AI Agents

Intelligent Telegram chatbot with OpenAI-powered responses

16 nodes 283 147 Automatic trigger
Download

Workflow Description

An automation that receives Telegram messages, processes them through an AI agent powered by OpenAI, maintains conversation history in memory, and automatically sends intelligent responses back to users.

How it works

  1. 1.Capture incoming Telegram message via manual trigger
  2. 2.Store conversation context and previous messages in application memory
  3. 3.Process message through AI agent backed by OpenAI
  4. 4.Generate contextual intelligent response
  5. 5.Send automated reply to user on Telegram

Use cases

  • Automated customer support on Telegram with intelligent responses
  • Handle routine customer inquiries without manual intervention
  • Build conversational interactions that maintain discussion context

Requirements

  • Valid OpenAI API key configured
  • Telegram bot token with proper permissions
  • Memory buffer settings to retain 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 283
Downloads 147

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