Actions8
- Chat Actions
- Contact Actions
- Group Actions
- Message Actions
Overview
This node integrates with the WasapBom API to send and manage WhatsApp messages, contacts, groups, and chats. Specifically, the Chat - Check Numbers operation allows users to verify if a list of phone numbers are registered on WhatsApp. This is useful for validating contact lists before sending messages, ensuring that messages are only sent to valid WhatsApp users.
Practical examples:
- Before launching a marketing campaign via WhatsApp, check which phone numbers in your database are active WhatsApp users.
- Clean up contact lists by filtering out numbers not registered on WhatsApp.
- Automate validation of customer phone numbers collected from forms or CRM systems.
Properties
| Name | Meaning |
|---|---|
| Phone Numbers | Comma-separated list of phone numbers (without the "+" sign) to check for WhatsApp registration. Example: 60123456789,60198765432 |
Note: There is also a notice property reminding users to set the country code without the "+" prefix.
Output
The output is a JSON array where each item corresponds to the result of checking the provided phone numbers. Each JSON object contains information returned by the WasapBom API about whether each number is registered on WhatsApp.
The exact structure depends on the API response but typically includes fields indicating the registration status of each phone number.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for the WasapBom API.
- The node makes HTTP requests to
https://panel.wasapbom.com/api/whatsapp/numbersendpoint. - Proper configuration of the WasapBom API key in n8n credentials is necessary.
Troubleshooting
Common issues and error messages:
Authentication failed: Invalid API key. Please check your credentials.
Occurs if the API key is missing, invalid, or expired. Verify and update the API key in the node credentials.Validation error: The API could not process your request.
Usually caused by malformed input, such as improperly formatted phone numbers. Ensure phone numbers are comma-separated and do not include "+" signs.Bad request: The request was improperly formatted or contained invalid parameters.
Check that all required properties are correctly filled and follow the expected format.Forbidden: You do not have permission to access this resource.
The API key might lack permissions or be restricted. Confirm API key privileges.Not found: The requested resource does not exist.
Could indicate an incorrect API endpoint or resource name; unlikely in normal use but worth verifying.Server error: The WasapBom server encountered an error.
Temporary issue on the WasapBom side; retry after some time or contact WasapBom support.
If "Continue On Fail" is enabled, errors will be returned as JSON objects with error details instead of stopping execution.
Links and References
- WasapBom Official Website
- WasapBom API Documentation (for detailed API usage and response formats)