Actions23
- Chatting Actions
- Group Actions
- Message Actions
- User Actions
Overview
This node integrates with the Go WhatsApp Web MultiDevice API to send various types of messages, including text, images, contacts, links, and specifically for your request, location messages. The "Send Location" operation allows users to share geographic coordinates (latitude and longitude) directly to a specified phone number or group on WhatsApp.
Common scenarios where this node is beneficial include:
- Sharing real-time location updates in customer support chats.
- Sending event or meeting locations automatically from workflows.
- Broadcasting location-based notifications to groups.
For example, a delivery service could use this node to automatically send the current location of a driver to a customer’s WhatsApp number.
Properties
| Name | Meaning |
|---|---|
| Phone or Group ID | Phone number with country code or Group ID to which the location will be sent. |
| Latitude | Latitude coordinate of the location to send (e.g., "-7.797068"). |
| Longitude | Longitude coordinate of the location to send (e.g., "110.370529"). |
| Reply to Message ID | (Optional) The ID of a message to reply to when sending the location. |
| Is Forwarded | Boolean flag indicating whether the message is forwarded. |
Output
The node outputs JSON data representing the result of the send location operation. This typically includes metadata about the sent message such as message ID, status, timestamps, or any error information if the operation failed.
No binary data output is involved in this operation since it deals with sending location coordinates as structured data.
Dependencies
- Requires an active connection to the Go WhatsApp Web MultiDevice API.
- An API key credential or authentication token must be configured in n8n credentials to authorize requests.
- The node expects the base URL of the API to be set via credentials configuration.
Troubleshooting
- Invalid Phone or Group ID: If the provided phone number or group ID is incorrect or not registered on WhatsApp, the API may return an error. Verify the format and existence of the recipient.
- Incorrect Coordinates: Latitude and longitude must be valid decimal strings. Invalid values may cause the message to fail.
- Authentication Errors: Ensure that the API key or authentication token is correctly configured and has not expired.
- Reply Message ID Issues: If replying to a message, ensure the message ID exists and belongs to the chat thread.
- Network or API Downtime: Temporary connectivity issues with the Go WhatsApp API can cause failures; retrying later might help.
Error messages returned by the node usually contain descriptive text from the API response, guiding the user to correct input or configuration problems.