telegram-topics

n8n node for Telegram forum topics (create, reopen, rename) using the built-in Telegram API credential.

Package Information

Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.0

Available Nodes

Documentation generating…

Documentation

n8n-nodes-telegram-topics

An n8n community node that manages Telegram forum topics with the built-in Telegram API credential (telegramApi). It does not define a credential of its own.

It supports three operations:

Operation Telegram Bot API method Parameters
Create Topic createForumTopic Chat ID, Topic Name
Reopen Topic reopenForumTopic Chat ID, Message Thread ID
Edit Topic Name editForumTopic Chat ID, Message Thread ID, Topic Name

Sending messages is not part of this node. Use the built-in Telegram node with message_thread_id for that.

Output

Every input item returns exactly one output item. Telegram API errors and network errors do not stop the workflow.

{
  "operation": "create",
  "method": "createForumTopic",
  "chat_id": "-100…",
  "ok": true,
  "http_status": 200,
  "message_thread_id": 123,
  "name": "…",
  "error_code": null,
  "description": null,
  "retry_after": null,
  "network_error": false
}

On failure, ok is false, and error_code, description and retry_after (for HTTP 429) are filled in. Telegram's description strings such as TOPIC_CLOSED or message thread not found are passed through so later nodes can branch on them.

Invalid parameters still throw an error. These are an empty Chat ID, a topic name outside 1–128 characters, or a thread ID that is not a positive integer.

Token handling

  • The token is read at run time with this.getCredentials('telegramApi'), and n8n decrypts it at that point.
  • It is used only to build the request URL in memory.
  • It never appears in node parameters, workflow JSON or output items.
  • Any error text is redacted with the token replaced by *** before it is output.
  • The raw request error is never rethrown.

Install

Self-hosted n8n: Settings → Community Nodes → Install → n8n-nodes-telegram-topics.

Discussion