AI Agents

Telegram automation

12 nodes 218 98 Automatic trigger
Download

Workflow Description

Advanced automation template integrating an AI agent with Telegram to deliver intelligent automated responses to messages, with capability to interact with X platform and maintain conversation context history for continuous learning.

How it works

  1. 1.Receive message from Telegram using the dedicated trigger
  2. 2.Process message through OpenAI agent while preserving conversation memory
  3. 3.Execute available tools such as posting tweets or retrieving data
  4. 4.Send intelligent response back to user via Telegram

Use cases

  • Build a smart Telegram assistant that answers questions and learns from context
  • Automatically post updates to X through Telegram commands
  • Manage customer inquiries and enable real-time communication across unified channel

Requirements

  • Valid OpenAI API key
  • Telegram bot token
  • X/Twitter credentials for optional integration

Service Value

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

Apps Used

OpenAI Memory Telegram Twitter/X Tool AI Agent

Details

Trigger Automatic trigger
Nodes 12
Apps 6
Views 218
Downloads 98

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)

/

OpenAI Chat Model

OpenAI

#1

Window Buffer Memory

Memory Buffer Window

#2

Telegram

Set

#3

Correct errors

Set

#4

Execute Workflow Trigger

Execute Workflow Trigger

#5

Listen for incoming events

Set

#6

Send back an image

Set

#7

add response field

Set

#8

Sticky Note

Sticky Note

#9

Dall-E 3 Tool

Tool Workflow

#10

Generate image in Dall-E 3

HTTP Request

#11

AI Agent

Agent

#12