AI Compare
​
​
ToolsArticlesServices
Best for
    All articles

    Sales

    AI tools for finding leads, qualifying them, preparing quotes, following up and keeping the CRM up to date.

    Marketing

    AI tools for content, social media, images, video, SEO and campaigns.

    Customer service

    AI tools for answering customer emails, chats and calls, handling requests and escalating the hard cases.

    Operations

    AI tools for running the daily work: workflows, scheduling, projects, purchasing and delivery.

    Finance

    AI tools for invoices, bookkeeping, reconciliation, spreadsheets and financial reporting.

    Management & Admin

    AI tools for owners, managers and office staff: planning, reports, documents, meetings, scheduling and everyday admin.

    HR

    AI tools for hiring, screening candidates, onboarding, training and answering employee questions.

    Legal & Compliance

    AI tools for reviewing contracts, tracking deadlines and preparing compliance work for a qualified person to check.

    IT & Development

    AI tools for developers and IT teams: coding, AI models, agents, infrastructure and integrations.

Find AI tools for your team
AllAssistantsWriting & DocsImagesVideoAudioAI AgentsAutomationCode
← All articles

Build an AI Assistant on Telegram (Voice + Text) with n8n

October 7, 2026 · By AI Compare

A Telegram bot that understands voice and text, remembers context and uses your tools, built in n8n.

Use cases

What you will build

A personal AI assistant you talk to in Telegram. Send it a text or a voice note; it transcribes the voice, understands the request, uses tools (calendar, email, contacts, web search) and replies in text or audio. It remembers the recent conversation, so follow-up questions work.

This follows the structure of n8n's community template "Turn Telegram into an AI assistant with OpenAI voice, memory and tools".

What you need

  • An n8n instance with a public HTTPS URL (n8n Cloud, or self-hosted with a domain). Telegram must be able to reach your webhook.
  • A Telegram account.
  • An OpenAI API key (chat, transcription and optional text-to-speech). You can swap in other model providers for chat.
  • Optional: Google credentials for Calendar and Gmail tools.

Step 1: Create the Telegram bot

  1. In Telegram, open @BotFather and send /newbot.
  2. Choose a display name and a username ending in bot (5–32 characters).
  3. Copy the token BotFather gives you.
  4. In n8n, create a Telegram credential and paste the token as the Access Token.

Step 2: The workflow structure

#NodePurpose
1Telegram Trigger (updates: message)Receives every message sent to the bot
2IF: sender checkOnly allow your own Telegram user ID, so strangers cannot use your assistant (and your API budget)
3Switch: text or voiceRoutes by whether message.voice exists
4Telegram: Get File (voice branch)Downloads the voice note as binary data
5OpenAI: Transcribe a recordingTurns the audio into text
6Edit Fields (Set)Puts text from either branch into one field, for example prompt
7AI AgentReasons about the request and decides which tools to call
8Chat model + memory (sub-nodes)OpenAI Chat Model and Simple Memory keyed by the Telegram chat ID
9Tools (sub-nodes)Google Calendar, Gmail, web search, calculator
10Telegram: Send MessageReplies in the same chat

Step 3: Configure the AI Agent

  • Prompt: map the unified prompt field from step 6.
  • System message: describe the assistant's role, your timezone, and rules, for example: "You are my personal assistant. Today is {{ $now }}. Confirm before sending emails."
  • Memory: use Simple Memory with the session key {{ $('Telegram Trigger').item.json.message.chat.id }} so each chat has its own history.
  • Tools: add each tool as a sub-node and give it a clear description, such as "Create calendar events. Input: title, start time, end time."

Step 4: Reply with voice (optional)

Add an OpenAI Generate audio (text-to-speech) node after the agent and send the result with Telegram Send Audio or Send Voice. Keep a text reply as the default; voice replies cost more and are slower.

Security and cost tips

  • Always check the sender's user ID. A public bot without this check can be used by anyone who finds it.
  • Ask the agent to confirm before actions that send email or delete things.
  • Voice transcription and long conversations cost tokens. Limit memory to the last 10–20 messages.

n8n vs Zapier and Make for this use case

Telegram triggers exist in all three tools, but n8n's AI Agent with tools and memory in one workflow makes it the most practical place to build a real assistant. In Zapier or Make you would need several steps per tool and more operations per message. See AI agents in Zapier vs Make vs n8n.

Related

  • WhatsApp AI assistant with n8n
  • Run local LLMs with n8n and Ollama

Related services and topics

AI assistants & chatbotsTelegramn8nMessengers & chatAutomation platformsAssistantsAI AgentsAutomationOperations

Tools in this article

n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

ChatGPT

General-purpose AI assistant for research, writing, coding, data analysis, image creation, and everyday productivity

More articles

October 7, 2026 · AI Compare

Build an AI Assistant on WhatsApp (Voice + Text) with n8n

Text, voice notes and images on WhatsApp, answered by an n8n AI agent, plus the Meta setup you need.

Read article →

Use cases
W
n8n logo
ChatGPT logo
October 7, 2026 · AI Compare

AI Email Labeling in Gmail with OpenAI

Let AI sort your inbox into Sales, Support, Invoices and more, with a ready-to-use prompt.

Read article →

Use cases
G
Z
M
n8n logo
ChatGPT logo
October 7, 2026 · AI Compare

Chat with Your Database Using AI

Ask questions in plain English and get answers from your SQL database, with safety rules built in.

Read article →

Use cases
P
M
n8n logo
ChatGPT logo
October 7, 2026 · AI Compare

AI WhatsApp Customer Support Agent

Answer common customer questions on WhatsApp with AI and pass the chat to your support team when needed.

Read article →

Use cases
W
n8n logo
Help
Pick an answer below
Hi! I can point you to the right tool or guide. What are you looking for?
Browse all articles