Templates / Route Telegram conversations between Hermes and your main workflows

Route Telegram conversations between Hermes and your main workflows

Ready for 3.0

by Paul Jackways · 0 views · created 2026-10-28 · Engineering, 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 42 nodes and runs on a schedule (every 10 seconds) (plus 4 other triggers). It uses only n8n's built-in nodes. It also calls host.docker.internal:8642 and api.telegram.org over HTTP.

How it runs

Trigger: On a schedule (every 10 seconds) (plus 4 other triggers).

  1. Get offset (Data table): get
  2. Store task (Data table): uses Data table
  3. Get task for prompt (Data table): get
  4. Get task for submit (Data table): get
  5. Get task for hermes message (Data table): get
  6. Fetch Telegram updates (HTTP Request): calls an HTTP API
  7. Clear old tasks (Data table): delete rows
  8. Build context (Code): runs custom JavaScript code
  9. Build submission (Code): runs custom JavaScript code
  10. Append hermes message (Code): runs custom JavaScript code

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

HTTP calls to: host.docker.internal:8642, api.telegram.org

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (9)

From the author

Quick overview Facilitates determinism and offloads memory management for small, locally hosted agents. Acts as a generic proxy between a main n8n workflow, Hermes, and Telegram. Deterministically stores chat history, prompts, and JSON return schema. To be…

Excerpt from Paul Jackways'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.