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 files via Telegram. Specifically, the "Enviar Arquivo" (Send File) operation allows users to send different types of files—documents, photos, or videos—to a specified Telegram channel or recipient by providing a public URL for the file.
Common scenarios where this node is beneficial include:
- Automating the distribution of documents or media files to Telegram channels or individual users.
- Sending promotional images or videos automatically to subscribers.
- Sharing reports or other files programmatically through Telegram.
For example, a marketing automation workflow could use this node to send a promotional video to a Telegram channel whenever a new campaign starts.
Properties
| Name | Meaning |
|---|---|
| ID Do Canal | The Telegram channel ID where the file will be sent. |
| ID Do Destinatário | The Telegram user ID who will receive the file. |
| Tipo Do Arquivo | Type of the file to send. Options: Documento (any document), Foto (photo image), Vídeo (video file). |
| URL Do Arquivo | Public URL of the file to be sent. |
| Legenda | Optional caption text to accompany the file. |
Output
The node outputs JSON data representing the response from the NotificaMe Hub API after attempting to send the file via Telegram. This typically includes status information about the message delivery and any metadata returned by the Telegram API.
If the node supports binary data output (not explicitly shown in the provided code), it would represent the file content or related media; however, based on the static analysis, the node primarily handles sending files via URLs and returns JSON responses.
Dependencies
- Requires an active connection to the NotificaMe Hub API.
- Needs a valid API authentication token configured in n8n credentials to authorize requests.
- The file to be sent must be accessible via a public URL.
- Telegram channel and recipient IDs must be valid and authorized to receive messages.
Troubleshooting
- Invalid Channel or Recipient ID: If the provided Telegram channel or recipient ID is incorrect or unauthorized, the API call will fail. Verify these IDs are correct and that the bot or integration has permission to send messages to them.
- File URL Inaccessible: The file URL must be publicly accessible. Private or restricted URLs will cause the send operation to fail.
- Unsupported File Type: Ensure the file type matches one of the supported options (document, photo, video).
- API Authentication Errors: Missing or invalid API credentials will prevent the node from working. Confirm the API key/token is correctly set up in n8n.
- Caption Issues: Although optional, if the caption contains unsupported characters or formatting, it might cause errors.