Templates / Turn Telegram into an AI assistant with OpenAI voice, memory and tools

Turn Telegram into an AI assistant with OpenAI voice, memory and tools

Ready for 3.0

by Stefan Joulien ✓ · 712 views · created 2026-02-27 · Personal Productivity, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (18)

Simple MemoryCall n8n WorkflowThinkCalculatorTelegramOpenAIAI AgentOpenAI Chat ModelAuto-fixing Output ParserStructured Output ParserBasic LLM Chain

What it does

Who this template is for This workflow is for users who want to turn Telegram into a personal AI-powered assistant capable of handling everyday tasks through natural language. It's ideal for solo founders, operators, or professionals who want to manage communication, scheduling, calculations, and information retrieval from a single chat interface. No advanced n8n knowledge is required, and the workflow is designed to be easily extended with additional tools. What this workflow does This workflow creates a Telegram-based AI assistant that can receive text or voice messages, understand user intent, and respond with text or audio. The assistant can reason about requests and use multiple tools such as contacts lookup, email drafting, calendar management, research, messaging, and calculations. Voice messages are automatically transcribed, processed like text input, and answered accordingly. How it works 1. The workflow listens for incoming Telegram messages and validates the sender 2. It detects whether the message is text or voice — voice messages are transcribed using OpenAI before being passed to the AI agent 3. The AI agent processes the request using a chat model, short-term memory, and a set of productivity tools (contacts, email, calendar, research, messaging, calculator) 4. The response is cleaned and formatted, then split into multiple chat bubbles with natural delays for a more human-like delivery 5. Depending on the output type, the response is sent as plain text or converted into audio and returned to the user in Telegram How to set up 1. Create a Telegram bot and connect it to the Telegram Trigger node 2. Add your Telegram user ID to the authorization fields 3. Connect your OpenAI credentials for chat, transcription, and text-to-speech 4. Activate the workflow and start chatting with your assistant Requirements - Telegram account and bot token - OpenAI API credentials - n8n instance (cloud or self-hosted)

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.