NotificaMe Hub icon

NotificaMe Hub

Integração com NotificaMe Hub API

WhatsApp → Enviar Arquivo

AI-generated

Overview

This node integrates with the NotificaMe Hub API to send files via WhatsApp. It allows users to send documents, images, or videos to a specified recipient's phone number using a channel token for authentication. This is useful for automating file sharing in customer support, marketing campaigns, or personal communication through WhatsApp.

Use Case Examples

  1. Sending a PDF document to a client for contract review.
  2. Sharing an image or video as part of a marketing campaign to WhatsApp contacts.
  3. Automating delivery of invoices or receipts as documents to customers.

Properties

Name Meaning
Token Do Canal Authentication token for the WhatsApp channel, required to authorize the API request.
Número Do Destinatário Recipient's phone number in international format (e.g., 5511999999999) to which the file will be sent.
Tipo De Arquivo Type of file to send, which can be a document, image, or video.
URL Do Arquivo Public URL of the file to be sent via WhatsApp.
Legenda Optional caption or message to accompany the file.
Request Options Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • messageId - Identifier of the sent message returned by the API.
  • status - Status of the file sending operation (e.g., success or failure).
  • recipientNumber - The phone number of the recipient to whom the file was sent.
  • fileType - Type of the file sent (document, image, or video).
  • fileUrl - URL of the file that was sent.
  • caption - Caption text sent along with the file, if any.

Dependencies

  • Requires an API token credential for the WhatsApp channel to authenticate requests to the NotificaMe Hub API.

Troubleshooting

  • Ensure the channel token is valid and has the necessary permissions to send messages.
  • Verify the recipient number is in the correct international format without spaces or special characters.
  • Check that the file URL is publicly accessible and points to a valid file of the specified type.
  • If SSL errors occur, consider enabling the option to ignore SSL issues, but be aware of security risks.
  • Use proxy settings if your network requires routing HTTP requests through a proxy server.
  • Adjust timeout settings if the server response is slow or times out frequently.

Discussion