Actions23
- ✉️ Message Actions
- 👥 Group Actions
Overview
This node integrates with the Wazzap API to send location messages via WhatsApp. Specifically, the "Send Location" operation allows users to share a geographic location with a recipient by specifying latitude, longitude, and additional descriptive information. This is useful in scenarios such as sharing meeting points, delivery locations, or any place of interest directly through WhatsApp messaging.
Practical examples:
- A delivery service sending the exact drop-off location to a customer.
- An event organizer sharing the venue location with attendees.
- Friends sharing their current position for meetups.
Properties
| Name | Meaning |
|---|---|
| 📱 Recipient Phone Number | The full phone number of the recipient including country code (e.g., +1234567890). |
| 🧭 Latitude | The latitude coordinate of the location to be sent (e.g., 18.9159721). |
| 🧭 Longitude | The longitude coordinate of the location to be sent (e.g., -99.2388623). |
| 📝 Title | The title displayed in the message describing the location. |
| 📝 Description | Optional subtitle or description providing more details about the location. |
| ⚙️ Additional Options | Collection of optional settings: |
| - 🔢 Priority Number | Selects which sending number to use: 0 = Default, 999 = Random, 1–5 = Specific number slot. |
| - ⏱️ Delay Settings | Configure a random delay range before sending the message, defined by start (min ms) and end (max ms). |
Output
The node outputs a JSON array containing the response from the Wazzap API after attempting to send the location message. The structure typically includes confirmation details such as message ID, status, or error information if the sending failed.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Wazzap API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The base URL for API requests is
https://doc.wazzap.mx/api-reference. - Proper network access to the Wazzap API endpoint is necessary.
Troubleshooting
- Unsupported operation error: If the node throws an error stating the operation is unsupported, verify that the resource is set to "Message" and the operation to "Send Location".
- Invalid phone number format: Ensure the recipient phone number includes the country code and no extra characters.
- API authentication errors: Confirm that the API key credential is correctly configured and has not expired.
- Delay settings misconfiguration: If delays are set incorrectly (e.g., start delay greater than end delay), the node might behave unexpectedly.
- Network issues: Check internet connectivity and firewall settings that might block access to the Wazzap API.
Links and References
- Wazzap API Documentation (official API reference)
- WhatsApp Location Sharing Best Practices (general guidance on location messages)