Avisa App icon

Avisa App

Consume Avisa App API

Actions3

Overview

This node integrates with the Avisa App API to send messages via WhatsApp. It supports sending text messages, documents, and images to specified phone numbers in international format. The primary use case is automating communication workflows where users want to programmatically send WhatsApp messages from n8n.

For the Send Text operation specifically, the node sends a plain text message to a given phone number. This is useful for notifications, alerts, reminders, or any scenario requiring automated text messaging.

Example scenarios:

  • Sending appointment reminders to clients.
  • Notifying customers about order status updates.
  • Broadcasting promotional messages.

Properties

Name Meaning
Phone Number The recipient's phone number in international format (e.g., +1234567890).
Message The text content of the message to be sent.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each object contains the response returned by the Avisa App API after attempting to send the message. The exact structure depends on the API but typically includes status information about the message delivery.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Avisa App API.
  • The base URL for the API is configured in the credentials.
  • The node makes HTTP POST requests to endpoints like /actions/sendMessage on the Avisa App API server.
  • Proper network connectivity to the API endpoint is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing API token: The node will fail authentication; ensure the API key credential is correctly set.
    • Incorrect phone number format: The API expects international format; verify the phone number includes country code and no extra characters.
    • Network errors or unreachable API endpoint: Check internet connection and API server status.
  • Error messages:

    • Authentication errors usually indicate invalid or expired API tokens.
    • Validation errors may occur if required parameters like phone number or message are missing or malformed.
    • HTTP request failures might show timeout or connection refused errors; retry or check API availability.
  • To handle errors gracefully, enable "Continue On Fail" in the node settings to process subsequent items even if some fail.

Links and References

Discussion