AI Agents
Telegram automation
10 nodes
205
127
Automatic trigger
Workflow Description
An automation that receives Telegram messages and routes them to an AI agent powered by OpenAI, maintains conversation context in memory, and publishes responses on X (formerly Twitter) platform.
How it works
- 1.Receive incoming messages from configured Telegram channels or groups
- 2.Process messages through an AI agent powered by OpenAI's language model
- 3.Store and retrieve conversation context using a memory buffer window
- 4.Generate intelligent responses based on message content and historical context
- 5.Publish processed results to connected X accounts
Use cases
- Build an intelligent customer support chatbot on Telegram that automatically shares key responses and insights on X
- Analyze user inquiries from Telegram and generate contextual AI responses while maintaining a public log on X
Requirements
- Active Telegram account with access to bot and channel administration features
- Valid OpenAI API key and X/Twitter account with authentication credentials
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
205
Downloads
127
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 (10)
When Executed by Another Workflow
Execute Workflow Trigger
AI Agent
Agent
Telegram3
Set
OpenAI Chat Model
OpenAI
Split into chunks1
Code
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Simple Memory
Memory Buffer Window
Sticky Note3
Sticky Note
Sticky Note2
Sticky Note