Actions5
- Message Actions
- Contact Actions
Overview
This node integrates with the Avisa App API to send WhatsApp messages and media. Specifically, the Send Image operation under the Message resource allows users to send an image encoded in Base64 or as binary data to a specified phone number on WhatsApp, optionally including a caption.
Common scenarios for this node include:
- Sending promotional images or product photos directly to customers.
- Sharing event flyers or invitations via WhatsApp.
- Automating customer support by sending screenshots or visual instructions.
Example: Automatically send a welcome image with a caption to new subscribers' WhatsApp numbers.
Properties
Name | Meaning |
---|---|
Phone Number | The recipient's phone number in international format or JID (WhatsApp identifier). |
Caption | Optional text caption to accompany the image being sent. |
Image | The image content encoded in Base64 or provided as binary file data. Must not exceed 100MB. |
Output
The node outputs a JSON array where each item corresponds to the response from the Avisa App API for each message sent. Each response object typically contains success status and any returned data or error messages.
No binary output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Avisa App API.
- The node uses the base URL configured in the credentials to make HTTP POST requests.
- The image data must be Base64 encoded or binary data within a 100MB size limit.
Troubleshooting
- Image size exceeds 100MB limit: The node throws an error if the image data is larger than 100MB. Reduce the image size or compress it before sending.
- Authentication errors (400 or 401): These indicate invalid or missing API tokens. Verify that the API key credential is correctly set up and has proper permissions.
- Network or timeout issues: The request has a timeout of 5 minutes; ensure network connectivity and that the API endpoint is reachable.
- Invalid phone number format: Ensure the phone number is in the correct international format or valid JID.
Links and References
- Avisa App API Documentation (hypothetical link, replace with actual if available)
- WhatsApp International Phone Number Format