Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
An n8n workflow that answers Telegram messages with an AI agent on OpenAI’s gpt-5.6-terra. A text goes straight to the agent, and a voice note is turned into text first.
Telegram chatbot that answers text and voice messages is an n8n workflow in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
A Telegram message
It starts when someone sends your bot a message:
A reply in the same Telegram chat, written by the agent
What you need before you start.
Chat
Takes each message and voice note, downloads the voice file and sends the replies.
NeedsA bot token from BotFather, in a Telegram credential
Chat and speech to text
Runs the agent with gpt-5.6-terra and turns voice notes into text with gpt-transcribe.
NeedsAn OpenAI API key, in an OpenAI credential
Checked by Mindket on 13 Nov 2026
This n8n workflow is a Telegram chatbot that understands text and voice notes. A switch looks at each message. Text goes to an AI agent. A voice note is downloaded, sent to OpenAI for transcription and then goes to the same agent. Anything else gets a short refusal. The agent keeps ten messages of memory for each chat, greets the user by first name and replies in Telegram’s HTML format. Thirteen nodes do the work, beside three sticky notes.
Small businesses and hobbyists who want an assistant in Telegram that people can type to or talk to. Skip it if the bot must answer from your own documents, because this agent has no tools and no knowledge base.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Customer service | Small shops | Answer routine questions typed or spoken in Telegram | A customer sends a voice note asking for opening hours and gets a written reply. |
| Education | Language teachers | Give students a practice partner they can talk to | A student records a sentence and the bot answers in the same language. |
| Personal use | Busy professionals | Dictate a question while walking and read the answer later | A user sends a voice note asking for a meeting agenda and gets one back. |
| Community | Group admins | Run a helper bot for members who dislike typing | A member sends a voice question about the group rules and gets them explained. |
You need some n8n and two accounts: Telegram and OpenAI. Telegram sends each message to your n8n over HTTPS, so n8n needs a public address.
Any n8n that Telegram can reach over HTTPS and that can reach OpenAI will run it.
OpenAI Chat Model to use a different OpenAI chat modelDownload saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Two accounts are involved.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own with a public HTTPS address |
| Telegram | A bot made with BotFather, and its token in a Telegram credential |
| OpenAI | An API key in an OpenAI credential, used by the chat model and by the transcription call |
workflow.json.Listen for incoming events, Send Typing action, Download voice file, Send final reply, Correct errors and Send error message.OpenAI Chat Model and Convert audio to text.OpenAI Chat Model. The file uses gpt-5.6-terra.Write to the bot or send it a voice note. The reply comes back in the same chat, and the bot shows a typing sign while the agent works.
| To change | Where |
|---|---|
| The assistant’s rules and tone | The system message in AI Agent |
| The model | model in OpenAI Chat Model |
| How many messages it remembers | contextWindowLength in Window Buffer Memory |
| The closing line of each reply | The text in Send final reply |
| The text for unsupported messages | The text in Send error message |
A user sends a ten second voice note that asks for a short packing list for a weekend in the mountains.
The bot downloads the note, gpt-transcribe turns it into text and the agent answers with a packing list. The reply ends with a thank-you line that says it came from a voice message.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. An AI agent is a model that reads a message and decides what to answer. This one has no tools, only a memory of the chat.
For experts. The voice step is an HTTP Request node that posts a multipart form to OpenAI’s transcription address, and a small Code node renames Telegram’s file first. The agent node is version 1.1, the conversational type by default.
| Node | What it does | What to know |
|---|---|---|
Determine content type | A switch that sends text, voice and everything else down three routes | A message that starts with a slash still counts as text |
Name the voice file | Renames Telegram’s voice file to voice.ogg | OpenAI’s guide lists ogg but not oga, the ending Telegram gives voice notes |
Convert audio to text | Posts the voice file to OpenAI’s transcription address with gpt-transcribe | The answer holds the transcript in text |
Combine content and set properties | Puts the typed text or the transcript into one field and records the kind of message | The agent reads the field CombinedMessage |
Send final reply | Sends the answer in Telegram’s HTML mode with a thank-you line | If Telegram rejects the HTML, Correct errors sends the text with its special characters escaped |
Two things were replaced because OpenAI retired them. Mindket did not run the new transcription step.
gpt-4o. OpenAI’s deprecations page, read on 12 November 2026, shuts the dated gpt-4o snapshots down on 14 January 2027, with gpt-6-luna as the replacement. Mindket’s copy uses gpt-5.6-terra, which OpenAI’s model page lists with Chat Completions and function calling, so you can add tools laterwhisper-1, which the same page lists for shutdown on 26 February 2027, with gpt-transcribe as a replacement. Mindket’s copy calls the transcription address with an HTTP Request nodeAn n8n workflow that answers Telegram messages with an AI agent on OpenAI's gpt-5.6-terra. A text goes straight to the agent, and a voice note is turned into text first.
workflow.json: the workflow as n8n exports it, sixteen nodes. Thirteen do the work and three are sticky notes that label the steps. It holds no credential.README.md: these notes.gpt-4o. OpenAI's deprecations page, read on 12 November 2026, shuts the dated gpt-4o snapshots down on 14 January 2027, with gpt-6-luna as the replacement. Mindket's copy uses gpt-5.6-terra. OpenAI's model page lists it with Chat Completions and function calling, so you can add tools later.whisper-1. OpenAI's page lists whisper-1 for shutdown on 26 February 2027, with gpt-transcribe or gpt-live-transcribe as replacements. Mindket's copy calls OpenAI's transcription address with an HTTP Request node and the model gpt-transcribe.ogg and webm among others, but not oga, the ending Telegram gives voice notes. A new Code node, Name the voice file, renames the file to voice.ogg before it goes out.workflow.json.Listen for incoming events, Send Typing action, Download voice file, Send final reply, Correct errors and Send error message.OpenAI Chat Model and Convert audio to text.OpenAI Chat Model. The file uses gpt-5.6-terra.Listen for incoming events starts the run for each message. It also starts Send Typing action, so the chat shows a typing sign.Determine content type sorts the message. Text goes on, a voice note goes to Download voice file, and anything else goes to Send error message.Name the voice file and Convert audio to text, which posts the file to OpenAI's transcription address.Combine content and set properties puts the typed text or the transcript into the field CombinedMessage. It also records whether the message was text or voice and whether it was forwarded.AI Agent reads CombinedMessage. It uses OpenAI Chat Model and keeps the last ten messages of the chat in Window Buffer Memory.Send final reply sends the answer in Telegram's HTML mode, followed by a thank-you line. If Telegram rejects the HTML, Correct errors sends the text with its special characters escaped.AI Agent.model in OpenAI Chat Model.contextWindowLength in Window Buffer Memory.Send final reply.Send error message.file and model, as OpenAI's speech to text guide shows. The answer holds the transcript in text.NOTICE.md 637 B README.md 5 KB workflow.json 14 KB
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
zarazhangrui · Skill
Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…
iptv-org · Kit
Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…