N8N Tools Telegram icon

N8N Tools Telegram

Interact with Telegram Bot API

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 Options parameter expects JSON, ensure it is well-formed to avoid parsing errors.

Links and References

Discussion