Actions10
Message → Send Location
AI-generatedSummary
Send a location message via WhatsApp using the Uadezap API.
Inputs
- phoneNumber (required) — WhatsApp number with DDD (e.g., 5511999999999) or group ID (e.g., 120363422509947345@g.us).
- latitude — Latitude coordinate of the location to send.
- longitude — Longitude coordinate of the location to send.
- locationName — Optional name or label for the location.
Output shape
Array with a single object containing the API response under the json key.
On success, the array holds
{ json: <API response> }. On error,{ json: { success: false, error: <message>, operation: 'sendLocation', phoneNumber: <value> } }.
Examples
Example 1: Send a location to a contact
Set phoneNumber to '5511999999999', latitude to -23.5505, longitude to -46.6333, locationName to 'São Paulo'.