workflows.fit
Back to n8n workflows
n8n templateFreeBy Balakrishnan C

Voice & text Telegram assistant with GPT-4.1-mini and conversation memory

Personal AI Assistant on Telegram Who It’s For: - This workflow is designed for developers, founders, community managers, and automation enthusiasts who want to bring a personal AI assistant directly into their Telegr...

CommunicationHITLAILangchainCore NodesTelegram TriggerAgentLm Chat Open Ai
Loading interactive preview...

Template notes

Personal AI Assistant on Telegram

Who It’s For:

- This workflow is designed for developers, founders, community managers, and automation enthusiasts who want to bring a personal AI assistant directly into their Telegram chat. - It lets users interact naturally—either through text or voice messages—and get instant, AI-powered replies without switching apps or opening dashboards.

⚡ What It Does / How It Works

📥 Message Trigger: A Telegram Trigger node listens for incoming messages. 🧭 Smart Routing: A Switch node decides if the user sent a text or voice message. 🗣️ Voice to Text: If it’s voice, the workflow uses OpenAI Whisper Transcription to convert it into text. 🧠 AI Processing: The text is passed to an AI Agent powered by GPT-4.1-mini to understand intent and craft a response. 💬 Reply: The bot sends a clean, structured, and polite answer back to the user on Telegram. 🧠 Memory: A buffer memory node keeps short-term conversation history for a more contextual, human-like experience.

🧰 How to Set It Up: 1. Telegram Integration

- Create a bot via @BotFather on Telegram. - https://telegram.me/BotFather - Add your Telegram API Key to n8n credentials. - Connect the Telegram Trigger and Send a Message nodes.

2. OpenAI Setup