AI Agents

Intelligent Telegram chatbot with AI agent and message memory

12 nodes 303 144 Automatic trigger
Download

Workflow Description

Automation that receives Telegram messages and processes them through an AI agent powered by OpenAI, maintaining conversation history and executing customized tools to deliver context-aware responses automatically.

How it works

  1. 1.Receive incoming messages from Telegram channels and groups
  2. 2.Route messages to an intelligent agent powered by OpenAI language model
  3. 3.Maintain conversation context using a sliding memory buffer
  4. 4.Execute configured workflow tools based on message analysis
  5. 5.Send contextual responses back to users via Telegram

Use cases

  • Customer support automation: Answer frequent inquiries without human intervention
  • Intelligent message routing: Filter and assign messages to appropriate teams based on content analysis
  • FAQ handling: Provide consistent, natural-language answers to repetitive questions

Requirements

  • Active Telegram account with bot token configured in n8n
  • OpenAI API key with appropriate model access permissions
  • Pre-configured workflow tools and custom actions for your use case

Service Value

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

Apps Used

Telegram AI Agent OpenAI Memory Tool

Details

Trigger Automatic trigger
Nodes 12
Apps 5
Views 303
Downloads 144

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

/

Telegram Send Message

Set

#1

Adds SessionId

Set

#2

CoinMarketCap AI Data Analyst Agent

Agent

#3

CoinMarketCap Agent Brain

OpenAI

#4

CoinMarketCap Memory

Memory Buffer Window

#5

CoinMarketCap Crypto Agent Tool

Tool Workflow

#6

CoinMarketCap Exchange and Community Agent Tool

Tool Workflow

#7

CoinMarketCap DEXScan Agent Tool

Tool Workflow

#8

Telegram Input

Set

#9

CMC Multi-Agent Guide

Sticky Note

#10

CMC Sticky Note2

Sticky Note

#11

CMC Sticky Note

Sticky Note

#12