Actions31
- Revenda Actions
- Instagram Actions
- Messenger Actions
- WhatsApp Actions
- Telegram Actions
- Mercado Livre Actions
- OLX Actions
- WebChat Actions
- Email Actions
Overview
This node integrates with the NotificaMe Hub API to send various types of messages across multiple messaging platforms, including Telegram. Specifically, for the Telegram resource and the "Enviar Audio" (Send Audio) operation, it allows users to send an audio file to a specified Telegram channel or recipient by providing the necessary identifiers and a public URL to the audio file.
Common scenarios where this node is beneficial include:
- Broadcasting audio announcements or podcasts to Telegram channels.
- Sending personalized audio messages to individual Telegram users.
- Automating audio content delivery in customer support or marketing workflows.
Practical example:
- A marketing team wants to send a promotional audio clip to their Telegram channel subscribers automatically whenever a new campaign launches.
- A customer support bot sends voice instructions or responses as audio files directly to users on Telegram.
Properties
| Name | Meaning |
|---|---|
| ID Do Canal | The Telegram channel ID where the audio will be sent. |
| ID Do Destinatário | The Telegram recipient's user ID who will receive the audio message. |
| URL Do Áudio | The publicly accessible URL of the audio file to be sent via Telegram. |
Output
The node outputs JSON data representing the result of the send audio operation through the NotificaMe Hub API. This typically includes confirmation details such as message IDs, status, timestamps, or error information if the sending failed.
If the node supports binary data output (not explicitly shown here), it would represent the audio content or related media metadata; however, based on the provided code and properties, the output focuses on JSON response data from the API confirming the message dispatch.
Dependencies
- Requires an active connection to the NotificaMe Hub API.
- Needs an API key credential configured within n8n to authenticate requests to the NotificaMe Hub.
- The audio file must be hosted at a publicly accessible URL so that Telegram can retrieve it.
- Proper Telegram channel and recipient IDs must be known and valid.
Troubleshooting
- Invalid Channel or Recipient ID: If the provided Telegram channel or recipient ID is incorrect or does not exist, the API will likely return an error. Verify these IDs before running the node.
- Audio URL Accessibility: The audio URL must be publicly accessible without authentication. Private URLs or those behind firewalls will cause failures.
- API Authentication Errors: Ensure the API key credential is correctly set up and has permissions to send messages via NotificaMe Hub.
- Network Issues: Connectivity problems between n8n and the NotificaMe Hub API or Telegram servers may cause timeouts or errors.
- Error Messages: Common error messages might include "Unauthorized", "Not Found", or "Bad Request". These usually indicate issues with credentials, invalid parameters, or inaccessible resources.
To resolve these issues:
- Double-check all input property values.
- Confirm the audio file URL is reachable.
- Validate API credentials.
- Review API documentation for specific error codes.
Links and References
- Telegram Bot API Documentation
- NotificaMe Hub API Documentation (Assumed based on baseURL)
- n8n Documentation - Creating Custom Nodes