Actions3
- Message Actions
Overview
This node integrates with the Avisa App API to send different types of messages via a phone number in international format. Specifically, for the Send Image operation under the Message resource, it allows sending an image encoded in Base64 along with an optional caption to a specified phone number.
Common scenarios where this node is beneficial include:
- Automating customer support by sending images such as product photos or screenshots.
- Marketing campaigns that require sending promotional images directly to customers.
- Notifications that include visual content, e.g., event flyers or tickets.
Example use case: Automatically send a product image with a caption to a customer after they place an order.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient's phone number in international format (e.g., +1234567890). |
| Caption | Optional text caption to accompany the image being sent. |
| Image | The image to send, provided as a Base64 encoded string. |
Output
The node outputs a JSON array where each element corresponds to the response from the Avisa App API for each message sent. The structure of each response object depends on the API but generally includes confirmation details about the sent image message.
No binary data output is produced by this node; all responses are returned as JSON.
Dependencies
- Requires an API key credential for authenticating requests to the Avisa App API.
- The node expects the base URL of the Avisa App API to be configured in the credentials.
- Network access to the Avisa App API endpoint is necessary.
Troubleshooting
- Invalid Phone Number Format: Ensure the phone number is in the correct international format including the country code.
- Authentication Errors: Verify that the API key credential is correctly set and has not expired.
- Base64 Encoding Issues: Confirm that the image string is properly Base64 encoded without extra characters or line breaks.
- API Endpoint Errors: Check the base URL configuration and network connectivity to the Avisa App API.
- Error Handling: If the node is set to continue on failure, errors will be included in the output JSON with an
errorfield describing the issue.
Links and References
- Avisa App API Documentation (Replace with actual link if available)