Actions37
- Instance Actions
- Message Actions
- Group Actions
- Contact Actions
- Chat Actions
- Campaign Actions
- Chatbot Actions
Overview
This node integrates with the UazAPI service to send a geographic location message via WhatsApp. It allows users to specify a recipient's phone number and detailed location information, which is then sent as a location message through the WhatsApp platform.
Common scenarios where this node is beneficial include:
- Sharing meeting points or event locations with contacts.
- Sending delivery or pickup addresses in customer support workflows.
- Automating location sharing in logistics or field service operations.
Practical example:
A business can automatically send customers the exact location of their store or an event venue by providing the address, latitude, and longitude, ensuring recipients receive accurate map data directly in WhatsApp.
Properties
| Name | Meaning |
|---|---|
| Number | Recipient's phone number including country code (without the "+" sign). |
| Location Name | The name/title of the location being shared (e.g., "Central Park"). |
| Address | The full address of the location. |
| Latitude | Geographic latitude coordinate of the location (range: -90 to 90). |
| Longitude | Geographic longitude coordinate of the location (range: -180 to 180). |
Output
The node outputs a JSON object representing the response from the UazAPI after attempting to send the location message. This typically includes status information about the message delivery, such as success confirmation or error details.
No binary data output is involved for this operation.
Dependencies
- Requires an active connection to the UazAPI service with valid API credentials configured in n8n.
- The node uses HTTP requests authenticated via these credentials to communicate with the UazAPI endpoints.
- Proper configuration of the base URL and authentication tokens for UazAPI is necessary.
Troubleshooting
- Invalid phone number format: Ensure the recipient number includes the country code but excludes the "+" sign. For example, use
5511999999999instead of+5511999999999. - Incorrect latitude/longitude values: Latitude must be between -90 and 90; longitude must be between -180 and 180. Values outside these ranges will likely cause errors.
- Authentication errors: Verify that the API key credential for UazAPI is correctly set up and has not expired.
- Network or API endpoint issues: Check connectivity to the UazAPI base URL and ensure the service is operational.
- Error messages from UazAPI: The node returns error details in the JSON output if the API call fails. Review these messages to identify issues like invalid parameters or quota limits.
Links and References
- UazAPI Official Documentation (example placeholder, replace with actual link if available)
- WhatsApp Location Message Format: https://developers.facebook.com/docs/whatsapp/api/messages/location
- n8n HTTP Request Node Documentation: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/
If you need further details on other operations or resources, feel free to ask!