Actions26
- Chat Actions
- File Actions
- Group Actions
- Message Actions
- User Actions
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" operation retrieves detailed information about a Telegram user by their user ID.
Common scenarios include:
- Fetching profile details of a specific Telegram user for further processing or display.
- Automating workflows that require user data retrieval, such as customer support bots or analytics.
- Integrating Telegram user info into other systems like CRMs or databases.
Example: Given a Telegram user ID, this node fetches the user's public profile information, which can then be used to personalize messages or log user activity.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the Telegram user whose information you want to retrieve. Example: "122323". |
Output
The node outputs an array of JSON objects representing the Telegram user data returned by the TelePilot API. The structure typically includes fields such as user ID, first name, last name, username, status, and other profile-related information depending on Telegram's API response.
No binary data output is produced by this operation.
Dependencies
- Requires an active Telegram API authentication credential (an API key/token) configured in n8n.
- Depends on the TelePilotNodeConnectionManager to manage Telegram client sessions.
- The Telegram account must be logged in and authorized; otherwise, the node will throw errors prompting re-login.
Troubleshooting
Error: "Session was closed or terminated. Please login again"
This indicates the Telegram client session has expired or been closed. Resolve by re-authenticating using the login process described at https://telepilot.co/login-howto.Error: "Please login"
Occurs if the Telegram account is not logged in. Use the ChatTrigger node with the login action to authenticate before running this node.Invalid User ID or no user found
Ensure the provided User ID is correct and corresponds to a valid Telegram user.Network or API errors
Check internet connectivity and verify that the Telegram API credentials are valid and have necessary permissions.
Links and References
- TelePilot Login Guide — Instructions for authenticating your Telegram account.
- Telegram API Documentation — Official Telegram API reference for user objects and methods.