Actions72
- Messages Actions
- Bots Actions
- Updates Actions
- Chats Actions
- Get Chat
- Get Chat Administrators
- Get Chat Member
- Get Chat Member Count
- Leave Chat
- Set Chat Title
- Set Chat Description
- Set Chat Photo
- Delete Chat Photo
- Set Chat Permissions
- Export Chat Invite Link
- Create Chat Invite Link
- Edit Chat Invite Link
- Revoke Chat Invite Link
- Approve Chat Join Request
- Decline Chat Join Request
- Set Chat Administrator Custom Title
- Ban Chat Member
- Unban Chat Member
- Restrict Chat Member
- Promote Chat Member
- Set Chat Sticker Set
- Delete Chat Sticker Set
- Pin Chat Message
- Unpin Chat Message
- Unpin All Chat Messages
- Files Actions
- Inline Queries Actions
- Callback Queries Actions
Overview
This node integrates with the Telegram Bot API via the N8N Tools Telegram service, enabling automation workflows to interact with Telegram bots and their features. Specifically, for the Bots resource and the Get My Description operation, it retrieves the current bot's description text as set in Telegram.
Common scenarios where this node is beneficial include:
- Automatically fetching and displaying the bot's description within a workflow.
- Monitoring or auditing the bot's profile information.
- Using the bot description data downstream in other automation steps, such as notifications or logging.
Practical example:
- A workflow that periodically checks the bot's description to ensure it matches expected content, alerting if changes occur.
Properties
| Name | Meaning |
|---|---|
| Options | Additional options as a JSON object; can include parameters like language code or scope. |
The Options property allows passing extra parameters to customize the request, such as specifying the language code for localized descriptions.
Output
The node outputs a JSON object containing the bot's description details as returned by the Telegram Bot API. The exact structure depends on the Telegram API response but typically includes fields like:
description: The text of the bot's description.- Possibly metadata about the language or scope if specified in options.
No binary data output is involved in this operation.
Dependencies
- Requires an active subscription and valid API key for the N8N Tools API service.
- Needs credentials configured in n8n for accessing the Telegram Bot API through the N8N Tools Telegram integration.
- The node performs an initial validation call to the N8N Tools API to verify the subscription and API key before executing the Telegram API request.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly configured and active.
- Unknown operation error: This should not occur if the operation is correctly set to "Get My Description" under the Bots resource. Ensure the node parameters are properly selected.
- Network or HTTP errors: Check network connectivity and that the N8N Tools API endpoint is reachable.
- Malformed JSON in Options: Since the
Optionsparameter expects JSON, ensure it is well-formed to avoid parsing errors.
Links and References
- Telegram Bot API Documentation - getMyDescription
- N8N Documentation - Creating Custom Nodes
- N8N Tools Telegram Integration (general info) (Note: link is generic as source code is custom)