Actions85
- Instances Actions
- Client Actions
- Message Actions
- Chat Actions
- Contact Actions
- Number Actions
- Group Actions
- Channel Actions
- Label Actions
- Story Actions
Overview
This node operation allows sending a geographic location message to a specified chat via the WaAPI service. It is useful for automating the sharing of precise locations in messaging workflows, such as notifying a contact or group about a meeting point, delivery address, or event location.
Practical examples include:
- Sending a store location to customers.
- Sharing a meetup spot with a group chat.
- Automatically dispatching GPS coordinates from a tracking system.
Properties
| Name | Meaning |
|---|---|
| Id | The ID of the WaAPI instance to use for sending the message. |
| Chat Id | The target chat identifier where the location will be sent. Format: <countrycode><number>@c.us for individuals or @g.us for groups. |
| Latitude | Latitude coordinate of the location to send. |
| Longitude | Longitude coordinate of the location to send. |
| Options | Additional JSON options for the location message, including: - name: Name of the location (e.g., "Googleplex")- address: Full address string- url: Optional URL related to the location |
Output
The node outputs JSON data representing the response from the WaAPI service after attempting to send the location message. This typically includes confirmation details such as message ID, status, and any metadata returned by the API.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the WaAPI service via an API key credential.
- The node uses the WaAPI REST endpoint at
https://waapi.app/api/v1. - Proper configuration of the API authentication token in n8n credentials is necessary.
Troubleshooting
- Invalid Chat Id format: Ensure the chat ID follows the correct pattern (
<countrycode><number>@c.usfor individual chats or@g.usfor groups). - Missing or incorrect API credentials: Verify that the API key credential is set up correctly in n8n.
- Latitude/Longitude out of range: Confirm that latitude is between -90 and 90, and longitude between -180 and 180.
- JSON parsing errors in Options: If providing custom options, ensure the JSON is valid and properly formatted.
- Network or API errors: Check internet connectivity and WaAPI service status if requests fail.