Actions55
- Message Actions
- Instance Actions
- Group Actions
- Chat Actions
- Contact Actions
- Profile Actions
- Channel Actions
- Community Actions
- Status Actions
- Catalog Actions
- Event Actions
Message → Send Location
AI-generatedSummary
Send a geographic location to a WhatsApp contact via Z‑API.
Inputs
- phone (required) — Phone number with country code (e.g., 5511999999999)
- latitude (required) — Latitude of the location
- longitude (required) — Longitude of the location
- locationName — Optional name for the location
Output shape
a JSON object representing the API response (typically includes success status and may contain a messageId)
The node resolves with the HTTP response; on error it throws, so successful execution returns the response payload.
Examples
Example 1: Send a location to a specific contact
Set Phone Number to 5511999999999, Latitude to -23.550520, Longitude to -46.633308, Location Name to "Workplace", Operation to Send Location
Example 2: Pass dynamic values from previous nodes
Use expressions like $json["contactPhone"] for Phone Number, $json["lat"] for Latitude, $json["lon"] for Longitude, and optionally $json["location"] for Location Name
Example 3: Send location without a custom name
Provide Phone Number, Latitude, and Longitude only; omit Location Name as it is optional