AI Agents
Process Telegram messages with AI agent and archive responses
12 nodes
183
105
Automatic trigger
Workflow Description
Automation that receives Telegram messages, routes them to an intelligent AI agent powered by OpenAI for smart replies, maintains conversation context in memory, and optionally publishes responses to Twitter X.
How it works
- 1.Receive incoming message from Telegram channel or group
- 2.Route message to intelligent agent using OpenAI language model
- 3.Store conversation history in buffer memory for context retention
- 4.Send generated response back to user via Telegram
- 5.Share selected responses to Twitter X account
Use cases
- Automate customer inquiry responses on Telegram without manual intervention
- Maintain searchable conversation logs for customer service analysis and improvement
- Post curated insights or responses directly to social media platforms
- Build a multilingual AI assistant for frequently asked questions
Requirements
- OpenAI API key with active account
- Telegram bot token and bot ID
- Twitter X account credentials (optional for publishing)
- Channel or group IDs that the bot will monitor
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
183
Downloads
105
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 (12)
/
OpenAI Chat Model
OpenAI
Window Buffer Memory
Memory Buffer Window
Telegram
Set
Correct errors
Set
Execute Workflow Trigger
Execute Workflow Trigger
Listen for incoming events
Set
Send back an image
Set
add response field
Set
Sticky Note
Sticky Note
Dall-E 3 Tool
Tool Workflow
Generate image in Dall-E 3
HTTP Request
AI Agent
Agent