AI Agents
Automated replies on Telegram powered by OpenAI
15 nodes
274
125
Automatic trigger
Workflow Description
Receive Telegram messages through an intelligent agent that processes them with OpenAI for immediate smart responses, maintains conversation context, and optionally accesses Gmail and Calendar data for enhanced context awareness.
How it works
- 1.Trigger automation when a message arrives on Telegram
- 2.Route the message through an AI agent using OpenAI's language model
- 3.Store conversation history in memory buffer to maintain context across interactions
- 4.Query Gmail and Calendar when needed to retrieve relevant information for better responses
- 5.Send the generated reply back to the user automatically via Telegram
Use cases
- Real-time customer support bot that answers common questions without human involvement
- Intelligent personal assistant that schedules meetings and responds based on calendar and email data
Requirements
- Active Telegram account with bot created via Telegram BotFather
- Valid OpenAI API key with sufficient credits
- Gmail and Calendar integration enabled for data retrieval (optional based on use case)
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Google Calendar
Memory
Gmail
OpenAI
Telegram
AI Agent
Tool
Details
Trigger
Automatic trigger
Nodes
15
Apps
7
Views
274
Downloads
125
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 (15)
/
Google Calendar
Google Calendar Tool
Window Buffer Memory
Memory Buffer Window
Get Email
Gmail
OpenAI Chat Model
OpenAI
Listen for incoming events
Set
Telegram
Set
If
If
Speech to Text
OpenAI
Voice or Text
Set
Get Voice File
Set
Angie, AI Assistant 👩🏻🏫
Agent
Sticky Note
Sticky Note
Tasks
Baserow Tool
Contacts
Baserow Tool
Sticky Note5
Sticky Note