Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Overview

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

Common scenarios for this node 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 datasets with Telegram user metadata for analytics or personalization.

Example: Given a Telegram user ID, the node fetches full user details such as profile info, status, and other metadata, which can then be used downstream in an n8n workflow.

Properties

Name Meaning
User ID The unique identifier of the Telegram user whose full information is to be retrieved. Example: "122323". This property is required.

Output

The node outputs a JSON array containing the full user information object returned by the Telegram API. This includes all available details about the user, such as username, first and last names, profile photos, status, and other Telegram-specific user metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires an active Telegram API authentication credential (an API key and associated login).
  • Depends on the TelePilot Node Connection Manager to handle Telegram client sessions.
  • The Telegram account must be logged in and authorized; otherwise, the node will throw errors prompting re-login.
  • Network access to Telegram's API endpoints is necessary.

Troubleshooting

  • Error: "Session was closed or terminated. Please login again"
    This indicates that the Telegram client session has expired or been closed. Resolve by re-authenticating using the login flow described at https://telepilot.co/login-howto.

  • Error: "Please login"
    The node cannot perform operations without a valid logged-in Telegram session. Use the login commands or nodes to authenticate before running this operation.

  • Unexpected auth states or command errors during login
    Follow the official guide at https://telepilot.co/login-howto and use supported commands (/start, /stop, /help) to manage login sessions.

  • Invalid or missing User ID
    Ensure the "User ID" property is correctly set and corresponds to a valid Telegram user.

Links and References

Discussion