Actions15
Send Location
AI-generatedOverview
This node sends WhatsApp location messages via the 4Jawaly API. It supports sending location either by manually entering coordinates (latitude and longitude) or by providing a full Google Maps URL from which coordinates are extracted automatically. The node is useful for scenarios where you want to share a specific location with a WhatsApp contact, such as sending a business location, event venue, or meeting point.
Use Case Examples
- Sending a location to a customer with coordinates for a store branch.
- Sharing a meeting location by providing a Google Maps URL that the node parses to extract coordinates.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient's phone number without '+' or spaces, used to specify the WhatsApp contact to send the location to. |
| WhatsApp Project ID | The identifier of the WhatsApp project used for sending the message, required for API routing. |
| Input Method | Method to input the location: either manual coordinates or a Google Maps URL from which coordinates are extracted automatically. |
| Google Maps URL | The full Google Maps URL used to extract coordinates automatically when the input method is set to Google Maps URL. |
| Latitude | Latitude coordinate of the location, must be between -90 and +90, used when input method is coordinates. |
| Longitude | Longitude coordinate of the location, must be between -180 and +180, used when input method is coordinates. |
| Location Name | Name of the location to display in the WhatsApp message, limited to 100 characters. |
| Address | Textual address of the location to display in the WhatsApp message, limited to 300 characters. |
| Additional Options | Optional settings including batch size for sending requests and timeout duration in milliseconds. |
Output
JSON
success- Indicates if the location message was sent successfully.operation- The operation performed, here it is 'sendLocation'.message- Status message describing the result of the send operation.phone_number- The recipient phone number.latitude- Latitude coordinate sent.longitude- Longitude coordinate sent.location_name- Name of the location sent.address- Textual address sent.input_method- Method used to input the location (coordinates or Google Maps URL).message_id- ID of the sent message returned by the API.api_message- API response message.description- Additional description from the API response.raw_response- Full raw response from the 4Jawaly API.
Dependencies
- 4Jawaly API key credential
Troubleshooting
- Ensure the phone number is provided without '+' or spaces and is valid.
- Latitude must be between -90 and +90; Longitude must be between -180 and +180 when using coordinates input method.
- Google Maps URL must contain extractable coordinates; otherwise, an error is thrown.
- Location Name must not exceed 100 characters and Address must not exceed 300 characters.
- API errors may include authentication issues or invalid project ID; verify credentials and project ID are correct.
Links
- 4Jawaly WhatsApp API Documentation - Official documentation for the 4Jawaly WhatsApp API used by this node.