Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Overview

This node integrates with Telegram via the TelePilot API, enabling automation of various Telegram actions. Specifically, for the Message resource and Send Text Message operation, it allows sending text messages to a specified chat in Telegram.

Common scenarios include:

  • Automating notifications or alerts by sending messages to Telegram chats.
  • Building chatbots that respond with custom messages.
  • Integrating Telegram messaging into workflows for customer support or team communication.

Example: Automatically send a status update message to a Telegram group chat whenever a workflow completes.

Properties

Name Meaning
Chat ID The unique identifier of the Telegram chat where the message will be sent.
Message Text The text content of the message to send.
Reply to messageId (Optional) Identifier of an existing message in the chat to which this message will reply.

Output

The node outputs an array of JSON objects representing the response from the Telegram API after sending the message. This typically includes details about the sent message such as message ID, chat ID, date, and content metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires an active Telegram API authentication credential configured in n8n.
  • Depends on the TelePilot API client connection manager internally to handle Telegram sessions.
  • Users must have a valid logged-in Telegram session; otherwise, the node will prompt to login via a linked ChatTrigger node.

Troubleshooting

  • "Session was closed or terminated. Please login again": Indicates the Telegram session expired or was disconnected. Resolve by re-authenticating using the login flow described at https://telepilot.co/login-howto.
  • "Please login": The node cannot perform actions without a valid Telegram session. Use the ChatTrigger node to complete login.
  • Ensure the chat_id is correct and accessible by the authenticated Telegram account.
  • If the message fails silently, verify that the Telegram API credentials are valid and the session is active.

Links and References

Discussion