Skip to main content

Telegram AI bot assistant: ready-made template for voice & text messages

Workflow preview

Workflow preview
100%
Telegram AI bot assistant: ready-made template for voice & text messages preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Free template for voice & text messages with short term memory This n8n workflow template is a blueprint for an AI Telegram bot that processes both voice and text messages. Ready to use with minima...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.telegram, n8n-nodes-base.telegramtrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yulia.

Original n8n.io source

1.1 Workflow description

Title
Telegram AI bot assistant: ready-made template for voice & text messages
Workflow name
Telegram AI bot assistant: ready-made template for voice & text messages

Free template for voice & text messages with short-term memory

This n8n workflow template is a blueprint for an AI Telegram bot that processes both voice and text messages. Ready to use with minimal setup.

The bot remembers the last several messages (10 by default), understands commands and provides responses in HTML.

You can easily swap GPT-4 and Whisper for other language and speech-to-text models to suit your needs.

Core Features

  • Text: send or forward messages
  • Voice: transcription via Whisper

Extend this template by adding LangChain tools.

Requirements

  • Telegram Bot API
  • OpenAI API (for GPT-4 and Whisper)

πŸ’‘ New to Telegram bots? Check our step-by-step guide on creating your first bot and setting up OpenAI access.

Use Cases

  • Personal AI assistant
  • Customer support automation
  • Knowledge base interface
  • Integration hub for services that you use:

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1

Block 2 - Window Buffer Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1

Block 3 - Correct errors

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.1

Block 4 - Listen for incoming events

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1

Block 5 - Download voice file

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 6 - Combine content and set properties

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Send final reply

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.1

Block 8 - Send error message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 9 - Convert audio to text

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.5

Block 10 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Send Typing action

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 14 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.1

Block 15 - Determine content type

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

3. Summary Table

Workflow Telegram AI bot assistant: ready-made template for voice & text messages
Complexity advanced
Nodes 15
Categories Support Chatbot, AI Chatbot
Author Yulia
Published 07 Nov 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2534/2534.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Telegram AI bot assistant: ready-made template for voice & text messages do?

Free template for voice & text messages with short term memory This n8n workflow template is a blueprint for an AI Telegram bot that processes both voice and text messages. Ready to use with minima...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.