WasapBom icon

WasapBom

Send WhatsApp messages via WasapBom API

Actions8

Overview

This node integrates with the WasapBom API to send WhatsApp messages and manage WhatsApp-related resources. Specifically, for the Message - Send Text operation, it allows users to send plain text WhatsApp messages to specified phone numbers.

Common scenarios where this node is beneficial include:

  • Sending notifications or alerts via WhatsApp.
  • Automating customer support messages.
  • Broadcasting updates or reminders to clients or team members.

For example, a business could use this node to automatically send order confirmations or appointment reminders directly to customers' WhatsApp accounts.

Properties

Name Meaning
Phone Number The recipient's phone number in international format without the "+" sign (e.g., 60123456789). Required.
Message Text The text content of the WhatsApp message to be sent. Required.

Additionally, there is a notice property reminding users to set the country code without the "+" prefix.

Output

The node outputs an array of JSON objects representing the response from the WasapBom API for each input item processed. Each output item corresponds to one message sent and contains the API response data structured as JSON.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for the WasapBom service to authenticate requests.
  • The node makes HTTP requests to the WasapBom API endpoint at https://panel.wasapbom.com/api/whatsapp.
  • Proper configuration of the API key credential within n8n is necessary.

Troubleshooting

Common Issues

  • Invalid phone number format: The phone number must include the country code but exclude the "+" sign. Incorrect formatting will cause the API to reject the request.
  • Authentication errors: Using an incorrect or expired API key will result in authentication failures.
  • API rate limits or server errors: High volume or server issues may cause temporary failures.

Error Messages and Resolutions

  • Authentication failed: "Invalid API key. Please check your credentials."
    Resolution: Verify and update the API key credential in n8n.

  • Validation error: "The API could not process your request."
    Resolution: Check that all required parameters are correctly formatted and provided.

  • Bad request: "The request was improperly formatted or contained invalid parameters."
    Resolution: Review the input properties for correctness, especially phone number and message text.

  • Forbidden: "You do not have permission to access this resource."
    Resolution: Ensure the API key has the necessary permissions.

  • Not found: "The requested resource does not exist."
    Resolution: Confirm the API endpoint and parameters are correct.

  • Server error: "The WasapBom server encountered an error."
    Resolution: Retry after some time; if persistent, contact WasapBom support.

If the node is configured to continue on failure, errors will be returned as JSON objects containing the error message, status code, and timestamp instead of stopping execution.

Links and References

Discussion