Telegram automation
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.Receive messages from Telegram channels using native triggers
- 2.Process conversation context with an organized buffer memory system
- 3.Send text to OpenAI model to generate intelligent responses
- 4.Delegate complex tasks to an AI agent for autonomous decision-making
- 5.Execute HTTP requests to connect external services as required
- 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
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (15)
When chat message received
Chat Trigger
OpenAI Chat Model
OpenAI
Window Buffer Memory
Memory Buffer Window
Telegram Trigger
Set
Blockchain DEX Screener Insights Agent
Agent
Telegram
Set
Adds SessionId
Set
DexScreener Latest Token Profiles
HTTP Request
DexScreener Latest Boosted Tokens
HTTP Request
DexScreener Top Token Boosts
HTTP Request
DexScreener Search Pairs
HTTP Request
DexScreener Check Orders Paid for Token
HTTP Request
DexScreener Get Pairs by Chain and Pair Address
HTTP Request
DexScreener Token Pools
HTTP Request
DexScreener Pairs by Token Address
HTTP Request