Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Overview

This node integrates with the Telegram API via the TelePilot library, enabling automation and interaction with Telegram user accounts. Specifically, for the User resource and the Get User Full Info operation, it retrieves comprehensive information about a specified Telegram user by their user ID.

Common scenarios where this node is beneficial include:

  • Fetching detailed profile data of a Telegram user for CRM or contact management.
  • Automating user data retrieval in chatbots or customer support workflows.
  • Enriching user records with full Telegram user details in marketing or analytics pipelines.

Example: Given a Telegram user ID, the node fetches all available information about that user, such as profile details, status, and other metadata, which can then be used downstream in an automation workflow.

Properties

Name Meaning
User ID The unique identifier of the Telegram user whose full information you want to retrieve.

Output

The output is a JSON array containing one object per input item. For the Get User Full Info operation, each object includes the full detailed information about the specified Telegram user as returned by the Telegram API via TelePilot. This typically includes fields such as user profile details, status, and other extended metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires an active Telegram API credential (an API key and authentication token) configured in n8n.
  • Depends on the TelePilot library and its connection manager to handle Telegram client sessions.
  • The Telegram account must be logged in and authorized; otherwise, the node will prompt for login via a companion ChatTrigger node or similar mechanism.

Troubleshooting

  • Error: "Please login" — Indicates the Telegram session is not authenticated. Resolve by performing login using the provided login commands or the ChatTrigger node as described in https://telepilot.co/login-howto.
  • Error: "A closed client cannot be reused" — The Telegram client session was closed or terminated. Re-login is required.
  • If the node returns errors related to authorization or session state, ensure the Telegram credentials are valid and the session is active.
  • Network issues or invalid user IDs may cause failures; verify connectivity and correctness of the User ID parameter.

Links and References

Discussion