Actions9
- Message Actions
- Profile Actions
Message → Send Location
AI-generatedSummary
Send a location message via WhatsApp using the Affibot API.
Inputs
- session (required) — The session ID of the device.
- to (required) — The recipient JID (e.g., 628xxx@s.whatsapp.net).
- latitude (required) — Latitude coordinate of the location to send.
- longitude (required) — Longitude coordinate of the location to send.
- isGroup — Set to true if the recipient is a group chat; defaults to false.
Output shape
Array of objects, each containing a json property with the API response from the /api/send-location endpoint.
If
continueOnFailis enabled, errors are returned as{ json: { error: <message> } }instead of throwing.
Examples
Example 1: Send your current location to a WhatsApp contact.
Set Session ID, To (contact JID), Latitude, Longitude, and optionally enable Is Group for group chats.
