AI Agents

Telegram automation

15 nodes 218 131 Automatic trigger
Download

Workflow Description

An advanced automation template that integrates an AI agent with Telegram to automatically process and intelligently respond to messages, while maintaining organized conversation history and executing external API requests when needed.

How it works

  1. 1.Receive messages from Telegram channels using native triggers
  2. 2.Process conversation context with an organized buffer memory system
  3. 3.Send text to OpenAI model to generate intelligent responses
  4. 4.Delegate complex tasks to an AI agent for autonomous decision-making
  5. 5.Execute HTTP requests to connect external services as required
  6. 6.Send responses back directly to Telegram conversations

Use cases

  • Build an intelligent sales and customer support assistant on Telegram
  • Automate data collection and customer inquiries with smart processing
  • Develop a contextual chatbot that learns from conversation history and provides accurate answers
  • Bridge external applications and Telegram channels with intelligent mediation

Requirements

  • Active Telegram account with bot authentication and webhook enabled
  • Valid OpenAI API key with sufficient account balance
  • Basic understanding of data structures and message formatting across platforms

Service Value

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

Apps Used

Chat Trigger OpenAI Memory Telegram AI Agent HTTP Request

Details

Trigger Automatic trigger
Nodes 15
Apps 6
Views 218
Downloads 131

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)

/

When chat message received

Chat Trigger

#1

OpenAI Chat Model

OpenAI

#2

Window Buffer Memory

Memory Buffer Window

#3

Telegram Trigger

Set

#4

Blockchain DEX Screener Insights Agent

Agent

#5

Telegram

Set

#6

Adds SessionId

Set

#7

DexScreener Latest Token Profiles

HTTP Request

#8

DexScreener Latest Boosted Tokens

HTTP Request

#9

DexScreener Top Token Boosts

HTTP Request

#10

DexScreener Search Pairs

HTTP Request

#11

DexScreener Check Orders Paid for Token

HTTP Request

#12

DexScreener Get Pairs by Chain and Pair Address

HTTP Request

#13

DexScreener Token Pools

HTTP Request

#14

DexScreener Pairs by Token Address

HTTP Request

#15