Actions8
- Chat Actions
- Contact Actions
- Group Actions
- Message Actions
Overview
This node integrates with the WasapBom API to send WhatsApp messages and manage WhatsApp-related data. Specifically, for the Message - Send Location operation, it allows users to send a location message via WhatsApp by specifying geographic coordinates and descriptive details.
Typical use cases include:
- Sharing a precise location with customers or contacts directly through WhatsApp.
- Sending event or meeting locations in automated workflows.
- Delivering store or office addresses dynamically based on user input or system data.
For example, a delivery service could automatically send the current location of a driver to a customer using this node.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient's phone number including country code but without the "+" sign (e.g., 60123456789). |
| Latitude | The latitude coordinate of the location to send. |
| Longitude | The longitude coordinate of the location to send. |
| Location Name | A name or title for the location (e.g., "Central Park"). |
| Address | The full address or description of the location. |
Output
The node outputs JSON data representing the response from the WasapBom API after attempting to send the location message. This typically includes confirmation details such as message status or error information if the request failed.
No binary data output is produced by this operation.
Dependencies
- Requires an active WasapBom API key credential configured in n8n.
- Internet access to call the WasapBom API endpoint at
https://panel.wasapbom.com/api/whatsapp. - Properly formatted phone numbers with country codes (without the "+" prefix).
Troubleshooting
Common Issues
- Authentication failures: Occur if the API key is missing, invalid, or expired.
- Validation errors: May happen if required fields like latitude, longitude, or phone number are missing or incorrectly formatted.
- Bad requests: Result from malformed JSON or unsupported parameter values.
- Permission errors: If the API key does not have rights to send messages.
- Not found errors: If the specified resource or endpoint does not exist.
- Server errors: Temporary issues on the WasapBom server side.
Error Messages and Resolutions
"Authentication failed: Invalid API key."
Check that the API key credential is correctly set up and valid."Validation error: The API could not process your request."
Verify all required parameters are provided and correctly formatted."Bad request: The request was improperly formatted or contained invalid parameters."
Ensure the JSON body matches the expected structure and types."Forbidden: You do not have permission to access this resource."
Confirm the API key has sufficient permissions."Not found: The requested resource does not exist."
Double-check the API endpoint and resource names."Server error: The WasapBom server encountered an error."
Retry later or contact WasapBom support if persistent.
If the node is set to continue on failure, errors will be returned as JSON objects containing the error message, HTTP status code, and timestamp.
Links and References
- WasapBom API Documentation (Assumed URL based on API base URL; verify actual docs)
- WhatsApp Location Message Format
- n8n Documentation on Creating Custom Nodes