Actions37
- Message Actions
- Media Actions
- Contact Actions
- Group Actions
- Instance Actions
- Webhook Actions
Overview
This node enables sending a location message via WhatsApp using the Uazapi premium WhatsApp API integration. It is designed to send geographic coordinates (latitude and longitude) along with an optional location name to a specified WhatsApp number.
Common scenarios where this node is beneficial include:
- Sharing meeting points or event locations with customers or team members.
- Sending delivery or pickup locations in customer service workflows.
- Automating location sharing in chatbots or notification systems.
For example, a business can automatically send a customer's order pickup location after confirming their order, improving communication efficiency.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient's WhatsApp number including country code (e.g., 5511999999999). |
| Latitude | The latitude coordinate of the location to send. |
| Longitude | The longitude coordinate of the location to send. |
| Location Name | Optional name or label for the location (e.g., "Main Office", "Event Venue"). |
| Additional Fields | Optional extra settings: • Reply to Message ID: ID of a message to reply to. • Delay (seconds): Wait time before sending. • Disable Link Preview: Whether to disable link previews. • Mention Users: Comma-separated phone numbers to mention in the message. |
Output
The node outputs a JSON object containing the response from the Uazapi WhatsApp API after attempting to send the location message. This typically includes status information about the sent message, such as message IDs or error details if the operation failed.
No binary data output is produced by this operation.
Example output structure (simplified):
{
"status": "success",
"messageId": "abc123def456",
"details": { ... }
}
Dependencies
- Requires an active Uazapi WhatsApp API account with valid credentials.
- Needs configuration of API key, API token, instance ID, and API URL within n8n credentials.
- The node sends requests through a proxy endpoint at
https://n8ntools.io/api/v1/proxy/uazapiwhich requires an API key credential for authentication.
Troubleshooting
- Invalid phone number format: Ensure the phone number includes the country code without any special characters or spaces.
- Authentication errors: Verify that the API key, token, and instance ID are correctly configured in the credentials.
- API rate limits or quota exceeded: Check your Uazapi account limits and usage.
- Network or proxy issues: Confirm that the n8n instance can reach the proxy URL and the Uazapi endpoints.
- Missing required fields: Latitude and longitude must be provided; otherwise, the API will reject the request.
If the node throws an error with a message related to unknown resource or operation, verify that the Resource is set to "Message" and Operation to "Send Location".
Links and References
- Uazapi Official Documentation (for detailed API capabilities)
- WhatsApp Location Message Format
- n8n Documentation on Creating Custom Nodes