Templates / Build a Telegram AI chatbot with human takeover using Trilox and GPT-4o-mini

Build a Telegram AI chatbot with human takeover using Trilox and GPT-4o-mini

Unknown

by Trilox · 425 views · created 2026-02-14 · Support Chatbot, AI Chatbot

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 29 nodes and runs on Telegram events (message) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Telegram, OpenAI and Trilox (community).

How it runs

Trigger: On Telegram events (message) (plus 1 other trigger).

  1. Message Type Router (Switch): routes items into 2 branches
  2. Channel Router (Switch): routes items into 6 branches
  3. Extract Text (Edit Fields (Set)): sets 1 field: text
  4. Download Voice File (Telegram): work with file
  5. Forward to Telegram (Telegram): uses Telegram
  6. Merge: merges the data from its input branches
  7. Transcribe Voice Message (OpenAI): transcribe (audio)
  8. Record Visitor Message (Trilox): uses Trilox
  9. Check Handler (Pre-Bot) (Trilox): check handler
  10. Handler Status Router (Switch): routes items into 3 branches

…plus 9 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelTelegramOpenAITrilox (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-trilox is verified or supports 3.0 (used in Record Visitor Message, Record Bot Response, Record Awaiting Message).
  • Check that n8n-nodes-trilox is verified or supports 3.0 (used in Trilox Trigger (Agent Reply)).

Nodes used (14)

From the author

> ⚠️ This template uses the Trilox community node (n8n-nodes-trilox) and requires self-hosted n8n. Who is this for n8n developers building Telegram chatbots who need to take over from the bot when it fails — without the customer getting double replies. How…

Excerpt from Trilox's description on n8n.io.

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.