Actions31
- Revenda Actions
- Instagram Actions
- Messenger Actions
- WhatsApp Actions
- Telegram Actions
- Mercado Livre Actions
- OLX Actions
- WebChat Actions
- Email Actions
Overview
The "Enviar Arquivo" operation of the WhatsApp resource in this node allows users to send files via WhatsApp messages. It supports sending different types of media files such as documents, images, and videos by specifying a publicly accessible URL for the file. This operation is useful for automating the distribution of files like invoices, brochures, photos, or promotional videos directly to WhatsApp contacts.
Practical examples include:
- Sending a PDF invoice automatically to customers after a purchase.
- Sharing product images or catalogs with clients.
- Delivering video tutorials or promotional clips to subscribers.
Properties
| Name | Meaning |
|---|---|
| Token Do Canal | The WhatsApp channel token used for authenticating API requests. |
| Número Do Destinatário | Recipient's phone number in international format (e.g., 5511999999999). |
| Tipo De Arquivo | Type of file to send. Options: Documento (document), Imagem (image), Vídeo (video). |
| URL Do Arquivo | Public URL of the file to be sent. |
| Legenda | Optional caption or description text accompanying the file. |
Output
The node outputs JSON data representing the result of the file sending operation. This typically includes confirmation details such as message IDs, status, timestamps, or error information if the sending failed.
If binary data is involved (e.g., file content), it would be handled internally by the node but is not exposed in the output; only metadata and response info are provided.
Dependencies
- Requires a valid WhatsApp channel token for authentication.
- The file to be sent must be accessible via a public URL.
- Network access to WhatsApp messaging API endpoints.
- Proper configuration of the node with the channel token credential.
Troubleshooting
- Invalid Token or Authentication Failure: Ensure the channel token is correct and has not expired.
- Incorrect Recipient Number Format: The recipient number must be in international format without spaces or special characters.
- File URL Not Accessible: The URL must be publicly reachable; private or protected URLs will cause failures.
- Unsupported File Type: Only document, image, and video types are supported; ensure the file matches the selected type.
- API Rate Limits or Quotas: Excessive usage may lead to temporary blocking; monitor usage accordingly.
Common error messages usually relate to authentication errors, invalid parameters, or network issues. Verifying input values and connectivity often resolves these.
Links and References
- WhatsApp Business API documentation (general reference for sending media messages)
- NotificaMe Hub API documentation (for specific integration details)