AI Agents

Monitor social platforms and send intelligent replies via Telegram

10 nodes 297 163 Automatic trigger
Download

Workflow Description

Automation that monitors social channels, uses an AI agent powered by OpenAI to analyze content and generate contextual responses, preserves conversation history in memory for continuity, and delivers replies to designated Telegram channels automatically.

How it works

  1. 1.Receive incoming message from Telegram or external source via trigger
  2. 2.Pass content to intelligent agent for analysis and context understanding
  3. 3.Call OpenAI model to generate appropriate and context-aware response
  4. 4.Store conversation history and context in workflow memory buffer
  5. 5.Deliver generated response to specified Telegram channel

Use cases

  • Manage customer messages on Telegram with intelligent automated replies
  • Monitor brand mentions on X and send real-time alerts to your team channel
  • Build a Telegram chatbot that maintains full conversation history and context

Requirements

  • Active Telegram account with valid Bot Token
  • Valid OpenAI API key with sufficient quota
  • Basic understanding of agent configuration and prompt engineering

Service Value

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

Apps Used

Twitter/X AI Agent Telegram OpenAI Memory

Details

Trigger Automatic trigger
Nodes 10
Apps 5
Views 297
Downloads 163

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

When Executed by Another Workflow

Execute Workflow Trigger

#1

AI Agent

Agent

#2

Telegram3

Set

#3

OpenAI Chat Model

OpenAI

#4

Split into chunks1

Code

#5

Sticky Note

Sticky Note

#6

Sticky Note1

Sticky Note

#7

Simple Memory

Memory Buffer Window

#8

Sticky Note3

Sticky Note

#9

Sticky Note2

Sticky Note

#10