Skip to content
FlowHubFluxonLab
A
AI Automationfree

Run a Telegram voice assistant with OpenAI GPT-5 Mini and Google Calendar

by Manik Chandra Dhoradapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentCalculatorCalculatorOpenAIOpenAI Chat ModelOpenAI Chat ModelSSimple MemoryTelegramTelegram
Share Post Share
When Telegram Message ReceivedWhen Telegram M…SeSet Assistant PreferencesSet Assistant P…SwRoute by Telegram Content TypeRoute by Telegr…SeSet Text Message ContentSet Text Messag…Fetch Telegram Voice NoteFetch Telegram …OpenAI Voice TranscriberOpenAI Voice Tr…SeSet Transcribed Voice TextSet Transcribed…Request Text or Voice MessageRequest Text or…AgAI Personal Assistant AgentAI Personal Ass…OpenAI GPT-5 Mini ModelOpenAI GPT-5 Mi…MBManage Conversation HistoryManage Conversa…GCCreate Google Calendar EventCreate Google C…TCAI Calculator ToolAI Calculator T…Send Reply via Telegram APISend Reply via …1234567891011121314
1/5
STEPS · 14
Starts on a Telegram event

Quick overview This workflow turns a Telegram bot into a personal assistant that accepts text or voice notes, transcribes audio with OpenAI, uses a memory-enabled AI agent for replies and calculations, and creates Google Calendar reminder events from natural-language requests. How it works Triggers whenever a new Telegram message is received by your bot. Routes the message based on type, sending text directly to the assistant, voice notes to transcription, and other message types to a fallback reply. For voice notes, downloads the audio from Telegram and transcribes it to text using OpenAI. Sends the user’s text (typed or transcribed) to an OpenAI chat model powered agent that remembers the last 15 messages per chat and can use a calculator tool. When the user asks for a reminder or event, the agent creates a Google Calendar event with AI-generated title and start/end times. Sends the agent’s final response back to the originating Telegram chat. Setup Create a Telegram bot with @BotFather, add a Telegram credential in n8n, and enable updates for the Telegram Trigger. Add an OpenAI credential with access to the chat model and audio transcription used in the workflow.

Tags

n8nreference-onlyagentlm-chat-open-aimemory-buffer-windowopen-aitelegramtool-calculator
Connects
AAI AgentcalculatorCalculatorOpenAIopenaichatmodelOpenAI Chat ModelSSimple MemorytelegramTelegram
CategoryAI Automation
Triggermanual
Complexitycomplex
Nodes14
AddedJul 19, 2026

Related workflows

See all AI Automation
AopenaichatmodelserpapigooglesearchS
free

Slack chatbot powered by AI

This workflow offers an effective way to handle a chatbot's functionality, making use of multiple tools for information retrieval, conversation context storage, and message sending. It's a setup tailored for a Slack environment, aiming to offer an interactive, AI-driven chatbot experience. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
AopenaichatmodelserpapigooglesearchS
free

AI agent chat

This workflow employs OpenAI's language models and SerpAPI to create a responsive, intelligent conversational agent. It comes equipped with manual chat triggers and memory buffer capabilities to ensure seamless interactions. To use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
AopenaichatmodelserpapigooglesearchS
free

AI chatbot that can search the web

This workflow is designed for dynamic and intelligent conversational capabilities. It incorporates OpenAI's GPT-4o model for natural language understanding and generation. Additional tools include SerpAPI and Wikipedia for enriched, data-driven responses. The workflow is triggered manually, and utilizes a 'Window Buffer Memory' to maintain the context of the last 20 interactions for better conversational continuity. All these components are orchestrated through n8n nodes, ensuring seamless interconnectivity. To use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team